View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Fred Smith[_4_] Fred Smith[_4_] is offline
external usenet poster
 
Posts: 2,389
Default Comparison Formula

If you want the formula shorter, I expect you could use:

=if(or(e2="Saturday",e2="Sunday"),"F","T")

Regards,
Fred.

"Savio" wrote in message
...
I have a day entered in cell E2, and i am trying to write a formula to
return "T" if E2 is any value from Monday-Friday and "F" if not.

=IF(E2=OR("Monday","Tuesday","Wednesday","Thursday ","Friday"),"T","F")

Could you tell me what's wrong with the above formula and how to
correct it.

thanks