Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
lschuh
 
Posts: n/a
Default multiple or conditions

I have written syntax that doesn't seem to be picking up all my or conditions
thus leaving me with an inaccurate answer. What am I doing wrong?

=IF($I52.5,1,0)*OR($K52.5,1,0)*OR($M52.5,1,0)*O R($O52.5,1,0)
*OR($Q52.5,1,0)*OR($J55,1,0)*OR($L55,1,0)*OR($N 55,1,0)
*OR($P55,1,0)*OR($R55,1,0)


  #3   Report Post  
bj
 
Posts: n/a
Default

try instead
=if(or($I52.5,$K52.5,$M52.5,$O52.5,$Q52.5,$J5 5,$L55,$N55,$P55,$R55),1,0)
Your logic was fine, just the format of how to use the or was off. (If I
thought about it, I could probably guess what Your spread sheet background is)

"lschuh" wrote:

I have written syntax that doesn't seem to be picking up all my or conditions
thus leaving me with an inaccurate answer. What am I doing wrong?

=IF($I52.5,1,0)*OR($K52.5,1,0)*OR($M52.5,1,0)*O R($O52.5,1,0)
*OR($Q52.5,1,0)*OR($J55,1,0)*OR($L55,1,0)*OR($N 55,1,0)
*OR($P55,1,0)*OR($R55,1,0)


  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

The format is

=IF(OR(condition1, condition2, condition3, ...), action1, action2)

--
HTH

Bob Phillips

"lschuh" wrote in message
...
I have written syntax that doesn't seem to be picking up all my or

conditions
thus leaving me with an inaccurate answer. What am I doing wrong?

=IF($I52.5,1,0)*OR($K52.5,1,0)*OR($M52.5,1,0)*O R($O52.5,1,0)
*OR($Q52.5,1,0)*OR($J55,1,0)*OR($L55,1,0)*OR($N 55,1,0)
*OR($P55,1,0)*OR($R55,1,0)




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
Counting Unique Records with multiple conditions Keithlearn Excel Worksheet Functions 4 April 27th 05 12:44 AM
Vlookup with multiple conditions cambrus Excel Worksheet Functions 1 March 11th 05 05:21 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM
Sum If Multiple Conditions JulieD Excel Worksheet Functions 0 January 25th 05 02:02 PM


All times are GMT +1. The time now is 03:12 AM.

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"