Thread: Logical or
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Nikos Yannacopoulos[_5_] Nikos Yannacopoulos[_5_] is offline
external usenet poster
 
Posts: 80
Default Logical or

No. Try this:

=IF(OR(WEEKDAY(J6)=1,WEEKDAY(J6)=7),"True","False" )

HTH,
Nikos

"Supriya " wrote in message
...
If the entered date is either Saturday or sunday, then calculation
should take place.


=IF(OR(WEEKDAY(J6)=1,7),"True","False")

Is the above formula is correct?


---
Message posted from http://www.ExcelForum.com/