Count Date/Days

R1chard

Active Member
Joined
Jan 14, 2004
Messages
407
I have a column of dates, formatted to display the day. Format DDDD

When I used COUNTIF, and type Monday as my Criteria, or any other day. It does not find the day, due to the format.

I am also unable to copy and paste just the value. The Monday cell, copied and pasted as a value, displays as 45078.60625

What is the best way to count the number of Mondays, Tuesdays ect, from a column of dates?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Yes, Excel formulas work off the actual underlying values, not on the formats applies to cells.
Try this to count Mondays:
Rich (BB code):
=SUMPRODUCT(--(WEEKDAY(range)=2))
For other days, like Tuesdays, simply change the value of 2 (to 3 for Tuesdays).
 
Upvote 0

Forum statistics

Threads
1,215,895
Messages
6,127,624
Members
449,390
Latest member
joan12

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