How to use WEEKDAYS function inside a COUNTIFS function

alavna

New Member
Joined
May 15, 2016
Messages
2
Hi all.
A simplified version for the purpose of this question looks like this:

DateDayRed RoomBlue Room
01.06.2016
WednesdayJohn
Michael
02.06.2016ThursdayJohnRobert
03.06.2016FridayWilliamDavid
04.06.2016SaturdayRichardJohn
05.06.2016SundayMichaelRobert

<tbody>
</tbody>










I want to count how many times John was in the red room and it was a sunday.
I played with COUNTIFS and checked the documentation but i am still doing it wrong.
Without the weekday condition it would be easy with countif(the range; the name)

Any suggstions?

thank you
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
If you have the DAY already listed as a Text string in column B, try

=COUNTIFS(B:B,"Sunday",C:C,"John")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,579
Messages
6,131,531
Members
449,654
Latest member
andz

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