Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel formulas

ResolvedVersion 365

Ryan has attended:
Excel Advanced course

Excel Formula's

Is there a way to copy a formula from another cell to save having to retype/update the same formula in multiple cells or 'drag' the formula from the updated cell changing any formatting.

E.g.

Type a formula in A1 such as =A2+A3

In B1 I want =B2+B3

If I then update A1 to =A2+A3+A4

I want B1 to auto update to =B2+B3+B4

So in simple terms, I want it to say =copy the formula in cell A1 but relate to the relevant row

RE: Excel Formula's

Hi Ryan,

Thank you for the forum question.


Yes, you can achieve this in Excel using a combination of named ranges and the INDIRECT function. Here's how you can set it up:

Define Named Ranges:

Select cell A2 and name it "Row2".
Select cell A3 and name it "Row3".
Select cell A4 and name it "Row4".
Use INDIRECT Function:

In cell A1, enter the formula: =INDIRECT("Row2")+INDIRECT("Row3")+INDIRECT("Row4").
Copy the Formula:

Copy the formula from A1 to B1.
In cell B1, update the named ranges to correspond to the B column:
Select cell B2 and name it "Row2_B".
Select cell B3 and name it "Row3_B".
Select cell B4 and name it "Row4_B".
Update the Formula in B1:

In cell B1, enter the formula: =INDIRECT("Row2_B")+INDIRECT("Row3_B")+INDIRECT("Row4_B").
Now, whenever you update the formula in A1, you can easily update the named ranges in B1 to reflect the changes without having to manually adjust each cell reference


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
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

Wed 15 Jan 2025: Automatically marked as resolved.

Excel tip:

Filtering Data in an Excel 2010 Worksheet

When you have an Excel Worksheet with masses of data, it's not going to be easy to sift through it. So, in order to view sections of data, you can use the filter tool. Select the cells you want to filter (no need to select the column headers), then click the Home tab on the Ribbon, click Sort and Filter (you will find this in the Editing Section) then click Filter.

You will now see arrows in the top row of all the columns. If you click on an arrow, it will give you some filtering options so you can sort your data into ''Smallest to Largest'' or ''Oldest to Newest'' and so on..

To turn off the filtering, go back to the Home tab and click the Filter button again.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.12 secs.