Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 129
Default Combine an OR condition with an AND condition

I need to incorporate both an "AND" and an "OR" condition within and IF
statement... is that possible.

I need to say... IF the cell above is "ON" or IF the Cell above is "OFF" and
the record is the last of the day, then....

I hope you can understand that...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Combine an OR condition with an AND condition

=IF(OR(A1="ON",AND(A1="OFF",A1=[last record of day])),[then],[else])

You need to replace the stuff in the square brackets [ ] with your
appropriate logic, and change the cell reference to suit.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Will" wrote:

I need to incorporate both an "AND" and an "OR" condition within and IF
statement... is that possible.

I need to say... IF the cell above is "ON" or IF the Cell above is "OFF" and
the record is the last of the day, then....

I hope you can understand that...

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
How to use condition RKS Excel Discussion (Misc queries) 2 December 1st 06 11:33 AM
If condition dinadvani Excel Discussion (Misc queries) 2 June 14th 06 11:25 AM
Max or Min with condition Marc Excel Worksheet Functions 2 May 24th 06 10:08 PM
Condition 1 overules condition 2? Bultgren Excel Worksheet Functions 2 January 20th 06 01:29 PM
Condition sum daveks Excel Worksheet Functions 2 September 23rd 05 06:37 PM


All times are GMT +1. The time now is 11:35 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"