Training Completions by Month and Current Year

francoiscj1

New Member
Joined
Aug 21, 2017
Messages
33
Office Version
  1. 365
Platform
  1. Windows
This is my formula and it has an error that I'm having difficulty finding:

=sumproduct(($F13:$F50>=Date(year(today()),1,1))*($h13:$H50>=Date(Year(Today()),1,1))*($G13:$G50<=Date(year(today()),1,31))*($I13:$I50="Compliant"))

Thank you for the help.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Are you getting an error message or are you getting a value you know is wrong? Can you provide some examples and expected values? And any error messages? You can use the xl2bb add in (link below) or post the data as a copyable table (please do not merely post an image.) THanks in advance.
 
Upvote 0
Well, i got a formula to calculate by adding more parentheses. Not sure if I added too many, but this seems to work:

Excel Formula:
=SUMPRODUCT(
(($F$13:$F$50)>=DATE(YEAR(TODAY()),1,1))*
(($G$13:$G$50)>=DATE(YEAR(TODAY()),1,1))*
(($H$13:$H$50)<=DATE(YEAR(TODAY()),12,1))*
(($I$13:$I$50)="Compliant")
)

PS: Please update your profile with what version of excel you use. It didn't really matter for this question, but some functions are not available in earlier versions of excel. (see how my profile button shows "365" for office version?)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,813
Messages
6,181,111
Members
453,021
Latest member
Justyna P

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