Thread: Logical or
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Logical or

Supriya,

If you just want True or False, you can siumply use

=OR(WEEKDAY(J6)=1,WEEKDAY(J6)=7)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Frank Kabel" wrote in message
...
Hi
try
=IF(OR(WEEKDAY(J6)=1,WEEKDAY(J6)=7),"True","False" )

Frank

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/