How to automatically change the the sheet reference not including the formula by dragging down the cell?

shekel balanon

New Member
Joined
Jul 27, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am a newbie here.

May I ask for your help? How do I automatically change the sheet reference but not the formula?
The formula I'm using is =SUM('1'!C8:C35).
And when I drag it downwards, I want the sheet reference to become '2'
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the Board!

Let's say that you are putting the first formula in row 5. Then use this formula:
Excel Formula:
=SUM(INDIRECT("'" & ROW()-4 & "'!C8:C35"))
and copy down.

Just change the "4" in the formula to one less than the row number the first formula is going in.
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,280
Members
449,149
Latest member
mwdbActuary

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