Adding daily totals

ffgilby

New Member
Joined
Aug 15, 2011
Messages
17
Hi,
OK, here is the problem I have today. I have built a several page worksheet to track payments for an office. This adds the total in payments from several columns and gives the total for the entire worksheet. What I am looking for is a function to pull the total from one column if criteria matches another column. Here is what I'm trying to find: SUM(E13:E112) if(B13:B112)=A5. Then the same idea just A5+1, then A5+2 and so on. Exactly what I need is the total for people paying cash on one day, then each sequential day there after. Cash amount will be in column E, with dates in column B, with the beginning date in A5. I have tried several functions with no luck.

Any direction with this would be appreciated.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Maybe I'm reading it wrong but is it not just a normal Sumif formula i.e.
PHP:
=SUMIF($B$13:$B$112,A5,$E$13:$E$112)
 
Upvote 0
Or Across multiple sheets (Sheetnames in L5 - L7 in the totals sheet)...

PHP:
=SUMPRODUCT(SUMIF(INDIRECT("'"&$L$5:$L$7&"'!$B$13:$b$112"),A5,INDIRECT("'"&$L$5:$L$7&"'!$E$13:$e$112")))
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,869
Members
449,054
Latest member
juliecooper255

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