is there a formula i can type to increment sheets?

readsalot

New Member
Joined
Jan 13, 2018
Messages
14
I am not comfortable with macros, (this week was the first time I've tried one)
I have 31 sheets that I am moving data to on the master sheet.
I finally used $$ to lock the cell and column, so I can drag the formula down, but is there any way I can type something to increment the sheets
ex if('1'!$d$38=0,"",('1!$w$31)) when I drag this down everything is fine except I need the sheet to go from 1 to 31. is this possible with a formula?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
If your formula starts in row 1 :
=IF(INDIRECT(ROW() & "!$d$38")=0,"",INDIRECT(ROW() & "!$w$31"))

If it does not start in row 1, adjust depending upon the start row.
For example, if it starts in row 2 :
=IF(INDIRECT(ROW()-1 & "!$d$38")=0,"",INDIRECT(ROW()-1 & "!$w$31"))
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,218
Members
453,024
Latest member
Wingit77

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