copying cells contain formula

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Copying cells that contain a formula

Copying cells that contain a formula

resolvedResolved · Medium Priority · Version 365

Rebecca has attended:
Excel Introduction course
Excel Intermediate course

Copying cells that contain a formula

Hi,

I am trying to copy and paste a row of data. The cells contain a sum formula.

When I try and paste the cells in another (empty) sheet the error REF! pops up in all the cells.

How do I paste this successfully.

Thanks

RE: Copying cells that contain a formula

Hi Rebecca

Thank you for using the forum to ask a question.

This is a relevant question for any formula you paste between sheets.

On the original sheet where the data is, the SUM function is "looking" at a range of cells to add up on that sheet

e.g. =SUM(A5:E5) with it adding up into the cell F5
This is looking at the 5 cells to the left of F5

If you were to copy this on to a new blank sheet as long as you pasted it in a cell where it had 5 cells to the left it would work. If not you get a #REF error as the cell reference can't be found.

If you want to copy just the data then use paste special options - right click and choose 123
Or
If you want to keep the numbers linked so if one sheet updates they update use paste special and choose the link/chain symbol

Let us know if that explains and solves your question


Kind regards

Richard

STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Use the SUBTOTAL function in Excel

You can create subtotals in your spreadsheet using the SUBTOTAL function, which looks like this:

=SUBTOTAL(9,cell:cell)

9 represents the function being used (SUM), followed by the range of cells the function is operating on.

The neat thing about using the Subtotal function is that if you have used it several times in the same column or row, clicking on the AutoSum button at the end of the column or row will make Excel add only the results of cells containing the Subtotal function in that column or row.

View all Excel hints and tips


Server loaded in 0.05 secs.