sumif from multiple tabs

erenkey

Board Regular
Joined
Dec 9, 2005
Messages
162
I have a spreadsheet that Sheet1 is being used as a monthly totals sheet. There is a seperate tab for each day of the month. Column A in sheet one contains Store Ids. I am looking for a formula the will help me find a monthly running total for each store. Each day that I get my information may be sorted differently. I am looking for a fomula so that I don't have to resort the information everyday.

Can anyone help? let me know if I need to explain it better.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
There are actually a bunch of columns that I need totaled but we can start with column C. I can adjust the formulas for the other columns.
 
Upvote 0
Hello,

What is the tab name of each day? Is this like day #?

1,2,3,4.......28.29,30,31 ?
 
Upvote 0
yes each tab is named like the dates of the month 1,2,3,4,5,6,7,8,9,10.... The summary tab is called Month.
 
Upvote 0
Is it necessary to have a sheet for each day?
Can you install/use a free Add-in?

You can try

ShtList is a named range that includes all the relevant sheet names.
The criteria on the summary sheet is in A2
Range with amounts is H2:H100


=SUMPRODUCT(SUMIF(INDIRECT("'"&ShtList&"'!A2:A100"),A2,INDIRECT("'"&ShtList&"'!H2:H100")))
 
Upvote 0
is there a way to change this formula to look at two sets of criteria instead of only one?
 
Upvote 0
Yes, a formula could use 2 criteria

You did not answer the questions or provide a relevant example.

Depending on the scope of the challenge, I would use

1. THREED from Mr. Longre's add-in Morefunc
2. Concatenate the criteria and use the formula cited
3. Use a complex formula, there are examples in this forum

hth Dave
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,308
Members
452,904
Latest member
CodeMasterX

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