Function/Formula to Show Weekdays Only

zero269

Active Member
Joined
Jan 16, 2023
Messages
253
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm looking for a better way to fill down the Weekdays without using the Fill Down > Fill Weekdays option as it messes up my formatting.
Currently I enter a Starting Date, and the cells below =Today()+1 to FRI.
On Mondays, I have to use =Today()+3 to skip the Weekends.
This creates an Inconsistent Error message that I'm tired of looking at.

I considered the WEEKDAY function, but it doesn't seem to work for me considering I'm using a start date that needs to be entered manually as I'm only tracking a 3 week period at a time in the same space.

Reading Tracker.xlsm
BC
22Scheduling
23DayTest Date
24MON30-Jan
25TUE31-Jan
26WED1-Feb
27THU2-Feb
28FRI3-Feb
29MON6-Feb
30TUE7-Feb
31WED8-Feb
32THU9-Feb
33FRI10-Feb
34MON13-Feb
35TUE14-Feb
36WED15-Feb
37THU16-Feb
38FRI17-Feb
Dashboard
Cell Formulas
RangeFormula
B24:B38B24=UPPER(TEXT($C24,"ddd"))
C25:C28,C30:C33,C35:C38C25=$C24+1
C29,C34C29=$C28+3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C24:P39Expression=AND($C24=TODAY())textNO
C24:P39Expression=AND($C24=TODAY()+1)textNO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You need WORKDAY, not WEEKDAY for what you're doing.
Excel Formula:
=WORKDAY(C24,1)
 
Upvote 0
Solution
You need WORKDAY, not WEEKDAY for what you're doing.
Hi Jason,

Thanks for steering me in the right direction. I almost gave up on using that function just based on Microsoft's description of its use...
... until I saw this example that shows it being used to meet my needs.
So, I put it to use in my Workbook and it works perfectly! (y)

Reading Tracker.xlsm
BC
22Scheduling
23DayTest Date
24MON30-Jan
25TUE31-Jan
26WED1-Feb
27THU2-Feb
28FRI3-Feb
29MON6-Feb
30TUE7-Feb
31WED8-Feb
32THU9-Feb
33FRI10-Feb
34MON13-Feb
35TUE14-Feb
36WED15-Feb
37THU16-Feb
38FRI17-Feb
Dashboard
Cell Formulas
RangeFormula
B24:B38B24=UPPER(TEXT($C24,"ddd"))
C25:C38C25=WORKDAY($C24,1)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C24:P39Expression=AND($C24=TODAY())textNO
C24:P39Expression=AND($C24=TODAY()+1)textNO


Thanks again!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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