View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Umlas[_2_] Bob Umlas[_2_] is offline
external usenet poster
 
Posts: 68
Default IF Statement evaluating Dates and Weekdays

=IF(LEFT(TEXT(B6,"ddd"),1)="S"," ",7.5*60) and fill right.


"Sean Timmons" wrote in message
...
=IF(OR(B6="Sat",B6="Sun")," ",7.5*60)

Copy across the row.

"jwfullerton" wrote:

I have the date in cell B7 (shows 1 for 1 Sept 08). In cell B6 I have
the
corresponding day of the week (formula in B6 is =B7, formatted to show
ddd).

B C D
6 Mon Tue Wed
7 1 2 3
8 450 450 450


In cell B8, I want to input a formula to evaluate B6. If B6 equals
Saturday
or Sunday, then return " ", otherwise return 7.5*60.

Can anyone help me with this?

Thanks!