Sum multiple cell based on another cell's date

DailyCaffeine

New Member
Joined
Feb 9, 2022
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,
I would like some help with trying to make the formula I want.

Management Acc. Spreadsheet
Management Acc. Spreadsheet


"Actual" Spreadsheet
1652107246015.png


I am trying to make it so that the Year to Date adds up all the Global sum from April up until the date specified in A4 but I am unsure how to do it.
I have tried doing the following formula but I am guessing it is not working because it's using both columns and rows.

=SUMIFS('[Actual Spreadsheet.xlsx]Sheet 1'!$E$9:$J$12,'[Actual Spreadsheet.xlsx]Sheet 1'!$E$7:$J$7,"<="&A4,'[Actual Spreadsheet.xlsx]Sheet 1'!$D$9:$D$12,A11)

Please let me know what I am doing wrong and what I should be doing instead, it will be greatly appreciated !
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How about
Excel Formula:
=SUMPRODUCT(('[Actual Spreadsheet.xlsx]Sheet 1'!$E$7:$J$7<=A4)*('[Actual Spreadsheet.xlsx]Sheet 1'!$D$9:$D$12=A11)*('[Actual Spreadsheet.xlsx]Sheet 1'!$E$9:$J$12))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
Good afternoon,

Would you happen to know another way of doing this but for a bigger spreadsheet? I have tried implementing this on the spreadsheet I am using but it returns as error.
 
Upvote 0
The cell shows up as #N/A because I am using E7:P7, D9:D130, E9:P130 for the formulas respectively
 
Upvote 0
That should not be a problem.
I would only expect a #N/A error if one of the cells the formula looks at contains that error, or if the ranges are not the same size.
 
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,734
Members
449,094
Latest member
dsharae57

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