#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Logical or

If the entered date is either Saturday or sunday, then calculatio
should take place.


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

Is the above formula is correct

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Logical or

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/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Logical or

Hi,
I got it Right. Thanks Frank.


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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Logical or

The formula should be
=IF(AND(J6<0,OR(WEEKDAY(J6)=1,WEEKDAY(J6)=7)),TRU E,FALSE


----- Supriya wrote: ----

If the entered date is either Saturday or sunday, then calculatio
should take place


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

Is the above formula is correct


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


  #5   Report Post  
Posted to microsoft.public.excel.programming
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/





  #6   Report Post  
Posted to microsoft.public.excel.programming
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/





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Logical or

One way:

=WEEKDAY(J6,3)4

or

=IF(WEEKDAY(J6,3)4,<do if true,<do if false)

In article ,
Supriya wrote:

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/

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Logical or

Try

=IF(WEEKDAY(J6,3)4,"True","False")

--

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/

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Logical or

Yeah! Now i got it right! Thanks


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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there an AND logical ? 0nanman Excel Worksheet Functions 7 May 15th 09 08:07 PM
is there an AND logical ? Don Guillett Excel Worksheet Functions 2 May 15th 09 08:05 PM
Help!!! - logical function for someone not very logical ECH123 Excel Worksheet Functions 3 May 11th 09 04:14 PM
Logical AND with SUM Lauren Excel Worksheet Functions 2 August 21st 08 10:54 PM
Logical Value At A Loss Excel Worksheet Functions 7 March 13th 06 04:42 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"