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:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
That way you do not count, explain what you want to do?


'Planning congés_2019'!16:16,"'Planning congés_2019'!'Planning congés_2019'!B35"
 
Upvote 0
Try whit this:

=SUMPRODUCT(('Planning congés_2019'!$C$16:$C$40=A4)*('Planning congés_2019'!$D$16:$D$40=B4)*('Planning congés_2019'!$M$16:$NL$40="L"))
 
Upvote 0
Greetings Dante Thanks for the formula but the formula you gave calculates the total leave(L) days taken in the year and fails to separate it by the months in tab-cell ='Planning congés_2019'!14 eg for Jan it is ='Planning congés_2019'!L14:AP14 and Cell G3 in the tab Suivi

I will be grateful if you have another option for me.
 
Upvote 0
Summarily, In the Tab Suivi Conges I want to have the Total leave(L) days of Mary for the month of january only and for Feb. if there is any cell having the letter L. Not that of the whole year as is the case with the Formula above.

Hope my request is clearer.

Try whit this:

=SUMPRODUCT(('Planning congés_2019'!$C$16:$C$40=A4)*('Planning congés_2019'!$D$16:$D$40=B4)*('Planning congés_2019'!$M$16:$NL$40="L"))
 
Upvote 0
Greetings Dante Thanks for the formula but the formula you gave calculates the total leave(L) days taken in the year and fails to separate it by the months in tab-cell ='Planning congés_2019'!14 eg for Jan it is ='Planning congés_2019'!L14:AP14 and Cell G3 in the tab Suivi

I will be grateful if you have another option for me.

Recapitulating:
I:
"explain what you want to do"
You:
"I want to count all the cells having the letter L."

---
So, to understand what you need, you can explain with examples what you have and what you expect as a result.
If you explain it with real examples and with real results it will be easier to help you.
 
Upvote 0
I want to have the Total leave(L) days of Mary for the month of January only. if there is any cell having the letter L in row 6.

Recapitulating:
I:
"explain what you want to do"
You:
"I want to count all the cells having the letter L."

---
So, to understand what you need, you can explain with examples what you have and what you expect as a result.
If you explain it with real examples and with real results it will be easier to help you.
 
Upvote 0
Please take a minute to read the forum rules regarding cross-posting and then add links here to your post(s) in other forums. Thanks.
 
Upvote 0
Please take a minute to read the forum rules regarding cross-posting and then add links here to your post(s) in other forums. Thanks.


Hi, please add links here to your post(s).
 
Upvote 0

Forum statistics

Threads
1,215,301
Messages
6,124,142
Members
449,144
Latest member
Rayudo125

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