COUNTIFS doesn't work properly Correction needed or alternative Function

Alysiin P

New Member
Joined
Mar 30, 2019
Messages
10
Greetings Excel Wizard,

I am working on a sheet and I want to use the COUNTIFS function on another to obtain data from another TAB

The criteria I want is Data of a particular name, position and Month to count the number of letter L are in the month.

I tried doing this on the Tab "Suivi congés_RR 2019" but I got a #VALUE! as a solution. Not what I want.

https://drive.google.com/open?id=1POCBS8l9pI-27zO44VOiATvQjbD2SSus

This is a sample of the Excel sheet.

Thanks for your time to review my problem.

You just save my brain from try to guess what I was doing wrong.
 
Last edited:
Check the dates on the "Planning congés_2019" sheet, in row 15, after March your formula is not correct.


Try this one:


=SUMPRODUCT(('Planning congés_2019'!$C$16:$C$40=A8)*('Planning congés_2019'!$D$16:$D$40=B8)*(MONTH('Planning congés_2019'!$M$15:$NL$15)=MONTH(G$3))*('Planning congés_2019'!$M$16:$NL$40="L"))
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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