Find weekdays

bigbaded

New Member
Joined
Sep 17, 2002
Messages
2
I am forcasting dates but need to ensure that date forcasted is a weekday (i.e. not Sat or Sun)

Ideas?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

stickboy

Board Regular
Joined
Jun 23, 2002
Messages
84
you could have a long list of dates - mon to fri only in sequence, and then lookup your forcast against the list - use an if statement to clear it if it isnt found in the list.
 

royUK

Well-known Member
Joined
Jul 24, 2002
Messages
1,606
Hi

=IF(WEEKDAY(A1)<6,A1," ")

If you place this formula in a column next to your date(in this example the date is in A1)it will return a blank for all weekends. You can then delete the rows containing blanks. The easiest way is to use the asap utility from http://www.asap-utilities.com. Use the Conditional Row or Column Select
 

quigley

New Member
Joined
Apr 9, 2002
Messages
3
The formula from RoyUK will only leave the field of Saturdays blank therfore the formula you require is
=IF(AND(WEEKDAY(A1)>1,(WEEKDAY(A1)<7)),A1," ")
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
On 2002-09-20 03:36, bigbaded wrote:
I am forcasting dates but need to ensure that date forcasted is a weekday (i.e. not Sat or Sun)

Ideas?

How do you do your forecasting -- using a formula?
 

Forum statistics

Threads
1,181,305
Messages
5,929,199
Members
436,655
Latest member
Hamzahja

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
Top