SUMIF Formulas needed for date references

teamexcel777

New Member
Joined
Feb 27, 2017
Messages
11
This is hard without being able to upload a WS but here it goes.

I basically need a 2 SUMIFS formula

I have 2 worksheets; SALES & STATS

On STATS M17:M28 starting on M17 I have al 12 months of the year listed as 1/1/2017, 2/1/2017, etc.

on STATS W17:W28 is where the formula is needed.

STATS W17:W28 is suppose to show the sum of SALES O6:O1005 and distributed into the proper months adjacent on M17:M28 based on the dates entered into SALES P6:P1005 only if the criteria in SALES I6:I1005 = "CL" and SALES E6:E1005 = "B"


Same formula needed for Y17:Y28 with the exception of E6:E1005 = "S"
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
See if this does what you want

Formula in W17 copied down
=SUMIFS(SALES!$O$6:$O$1005,SALES!$P$6:$P$1005,">="&M17,SALES!$P$6:$P$1005,"<="&EOMONTH(M17,0),SALES!$I$6:$I$1005,"CL",SALES!$E$6:$E$1005,"B")

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,223,715
Messages
6,174,064
Members
452,542
Latest member
Bricklin

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