# Find weekdays

##### New Member
I am forcasting dates but need to ensure that date forcasted is a weekday (i.e. not Sat or Sun)

Ideas?

### Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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.

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

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," ")

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?

=WEEKDAY(A1,2)<6

On 2002-09-20 04:57, royUK wrote:

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

royUK, your WEEKDAY function needs a return_type of 2 for this to work.

Replies
5
Views
173
Replies
10
Views
215
Replies
1
Views
539
Replies
6
Views
106
Replies
1
Views
240

1,218,840
Messages
6,144,790
Members
450,567
Latest member
Mplz

### 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.

### Which adblocker are you using?

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

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