Sum weekly total spent for two funds

charlierb3

New Member
Joined
Oct 16, 2009
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Hi I'm tracking expenses out of two funds and I'd like to know how to sum total spent each week for each fund.

I have 3 columns

Transaction | Fund | Week Number
$30.00 | Fund 1 | 2​
$41.00 | Fund 2 | 2
$50.00 | Fund 1 | 2
$70.50 | Fund 1 | 4
$80.95 | Fund 2 | 4


I'd like to add two more colums: Weekly total for Fund 1 and Weekly total for Fund 2

and need a formula that is something like "for every change in Week Number, add transactions where Fund = Fund 1"

Thanks for your help
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Use SUMPRODUCT()

Assuming your data is in columns A:C

Code:
=SUMPRODUCT((B:B="Fund1")*(C:C=2)*(A:A))

Success
Erik
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

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