Next Worksheet Formula

Papi

Well-known Member
Joined
May 22, 2007
Messages
1,592
We are using the following formula in Column AL from Row 3 Downward

=SUMIF(May!E:E,E4,May!AL:AL)+AK4

At the end of each month we copy our volunteer hour rows over to the next worksheet directly to the right i.e The data from the month of May will get copied into the June worksheet. As noted above the formula shows May (last month) in the formula. Is there another way to write the formula so that each new month the last month formula will change without having to change the formula using the previous Tab Name (i.e. Jan Feb Mar Apr May etc.)?

The rows are not typically the same size as we retain past volunteer information and seem to be adding new volunteers on a fairly regular basis.

Any help would be greatly appreciated.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try using INDIRECT

=SUMIF(INDIRECT($I$2 & "!" & "E:E"),$E$4,INDIRECT($I$2 & "!" & "AL:AL"))+AK4

where $I$2 is your Month Name

(I2 could be a list of month names as in a drop down referenced from somewhere else)
 
Upvote 0
Thanks for the very quick response. Your formula works quite well. I will pull out the books to study up on the INDIRECT function as that one is new to me. Thank you very much for all your help!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

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