Copy down formula by column but change referencing cell by Row

leoncw96

New Member
Joined
Aug 6, 2021
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi everyone,

I'm rather new to excel and am currently facing an issue.
In Sheet 1 B1, I'd like to sum up Sheet 2 A2,A3,A4
When the formula is copied down to Sheet 1 B2, I want the cells Sheet 2 B2,B3,B4 to be summed.
Is there any way for the formula to be copied down?

Screenshot 2021-08-06 at 5.00.52 PM.png

Sheet 1

Screenshot 2021-08-06 at 4.58.36 PM.png

Sheet 2
 

Attachments

  • Screenshot 2021-08-06 at 4.58.36 PM.png
    Screenshot 2021-08-06 at 4.58.36 PM.png
    81.8 KB · Views: 2

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Perhaps in B1
Excel Formula:
=sum(Sheet2!A$2:A$4)
and drag right
The relative referencing of the columns will allow them to change when dragging
 
Upvote 0
Welcome to the MrExcel board!

Is there any way for the formula to be copied down?
Here are a couple of ways to copy down. I would choose the column B formula as that would still work if the column order in Sheet2 was not the same as the row order in Sheet1.

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

leoncw96.xlsm
ABC
1China4545
2Singapore400400
3Malaysia65006500
4Denmark3500035000
Sheet1
Cell Formulas
RangeFormula
B1:B4B1=SUM(FILTER(Sheet2!$A$2:$D$4,Sheet2!$A$1:$D$1=Sheet1!A1))
C1:C4C1=SUM(INDEX(Sheet2!$A$2:$D$4,0,ROWS(C$1:C1)))
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top