ADJUST SUMIF TO SUM DATA STARTING FROM A SPECIFIED DATE IN A DATA SET

JuicyMusic

Board Regular
Joined
Jun 13, 2020
Messages
210
Office Version
  1. 365
Platform
  1. Windows
Hi Guru's,
I have a 2 criteria SUMIF that I need to add a 3rd criteria to. Right now the formula sums nicely based on employee name and summing the PR deduction throughout the year for that employee.

I need to adjust the formula to start summing FROM a specific date (entered in a helper cell) and continue summing any data row dated after that specific date.
The data set is a payroll deduction export that is run weekly. Payroll dates for the year will be from 12/1/20 to 11/30/21 (for this year).

Here is my formula (column K) with a small data set. My employer doesn't allow me to use the XL2BB.

I have the "Start Summing Date" cell in red text. If the cell is empty then just sum everything. If there is a date in that box then sum everything but start from that date (see red text).



Excel Formula:
=SUMIF(F33:F44,J33,H33:H44)


Thank you so much!,

Juicy,
 

Attachments

  • Capture_Data set example 1.PNG
    Capture_Data set example 1.PNG
    24.7 KB · Views: 12
  • Capture_Data set example 2.PNG
    Capture_Data set example 2.PNG
    40.8 KB · Views: 11

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:
=SUMIFS(H33:H44,F33:F44,J33,G33:G44,">"&L32)
 
Upvote 0
Solution
Hi Fluff, That's almost what I did. I think I'll like yours better because I won't have to link to a cell with an END date.
I'm going to try yours right now.

Here is my adjusted formula so you can see.
Excel Formula:
=SUMIFS(H49:H95,G49:G95,">="&L48,G49:G95,"<="&M48,F49:F95,J49)
 
Upvote 0
YOU ARE AWESOME! I do like yours better. SOLVED.

The only thing I did was add an equals sign to it....but you solved this for me.
Excel Formula:
=SUMIFS(H33:H44,F33:F44,J33,G33:G44,">="&L32)
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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