Subtotal by Date (a little different than normal)

mikemathis

Board Regular
Joined
Jul 9, 2003
Messages
135
Office Version
  1. 2019
Platform
  1. Windows
Hi all, I have a sheet where there is the possibility of multiple rows with the same date which I want to subtotal. However, I don't want to have the normal subtotal separate row, rather, I want it in a specific cell. I'm wondering if there is a formula which could read the dates (which would ALWAYS be in order), and if the dates were the same, then subtotal a column into a cell.

ABCDEF
1​
CheckDateDescriptionIncome CategoryItem TotalTotal Deposit
2​
DEP
2/17/2023​
OfferingRegular Offering$ 716.00
3​
DEP
2/17/2023​
$20 ImprovementCategory6$ 20.00
4​
DEP
2/17/2023​
$100 OGHSCategory8$ 100.00$ 836.00
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Is this what you need?

Book1.xlsx
ABCDEF
1CheckDateDescriptionIncome CategoryItem TotalTotal Deposit
2DEP2/17/2023OfferingRegular Offering$ 716.00$ -
3DEP2/17/2023$20 ImprovementCategory6$ 20.00$ -
4DEP2/17/2023$100 OGHSCategory8$ 100.00$ 836.00
5BLUB2/25/2023blubbCategory1$ 50.00$ 50.00
6BLAH2/27/2023blahblahCategory2$ 70.00$ -
7BLAH2/27/2023blahblahCategory2$ 40.00$ 110.00
Sheet1
Cell Formulas
RangeFormula
F2:F7F2= SUMPRODUCT( ( B2<>B3) * ($B$2:B7=B2) * ($E$2:E7) )
 
Upvote 0
Solution

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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