SUMPRODUCT with month and criteria

Kirbstomp1287

New Member
Joined
Nov 22, 2019
Messages
6
Office Version
  1. 2016
Platform
  1. Windows
I am trying to use a SUMPRODUCT function with the MONTH function to get a monthly count of specific data.

Essentially I need the function to look for the month (formatted: 1/25/19), then the initials from box AB4 in column D, then the text "Forecast" from column J to get a count of text "Met DLT" from column AP.

Here is the code I have so far that gives me a zero but should be 36.

VBA Code:
=SUMPRODUCT(--(MONTH(F2:F9999)=6)*(J2:J9999="Forecast")*(AP2:AP9999="Met DLT")*(D2:D9999=AB4))

Any help would be much appreciated!
 
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules. Be sure to follow & read the link at the end of the rule too!

If you do cross-post in the future and also provide a link, then there shouldn’t be a problem.
 
Upvote 0

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

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