Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dbl
 
Posts: n/a
Default 2nd part of formula not working

Hi I have the following formula:

=IF(OR(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="" ),"YES",IF(INDEX(Sheet1!T:T,MATCH(B7,Sheet1!A:A,0) ,1)={"ATA115115","BBDD101101"},"YES","NO"))

It works fine until Sheet1!T:T,MATCH(B7 where it finds "BBDD101101" part
where I need it to input "YES" I only get a "NO"

If I delete the BBDD101101" part then the formula works fine, so has anyone
got any idea's to what I am doing wrong? How do I get the BBDD101101 to
return a "YES"?

Any help would be very much appreciated.

Bob


  #2   Report Post  
Biff
 
Posts: n/a
Default 2nd part of formula not working

Hi!

You have OR in the wrong location. Put it inside the second IF:

=IF(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="","Y ES",IF(OR(INDEX(Sheet1!T:T,MATCH(B7,Sheet1!A:A,0)) ={"ATA115115","BBDD101101"}),"YES","NO"))

Biff

"dbl" wrote in message
...
Hi I have the following formula:

=IF(OR(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="" ),"YES",IF(INDEX(Sheet1!T:T,MATCH(B7,Sheet1!A:A,0) ,1)={"ATA115115","BBDD101101"},"YES","NO"))

It works fine until Sheet1!T:T,MATCH(B7 where it finds "BBDD101101" part
where I need it to input "YES" I only get a "NO"

If I delete the BBDD101101" part then the formula works fine, so has
anyone got any idea's to what I am doing wrong? How do I get the
BBDD101101 to return a "YES"?

Any help would be very much appreciated.

Bob



  #3   Report Post  
Domenic
 
Posts: n/a
Default 2nd part of formula not working

Try...

=IF(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="","Y es",IF(OR(INDEX(Sheet1!
T:T,MATCH(B7,Sheet1!A:A,0),1)={"ATA115115","BBDD10 1101"}),"Yes","No"))

Hope this helps!

In article ,
"dbl" wrote:

Hi I have the following formula:

=IF(OR(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="" ),"YES",IF(INDEX(Sheet1!T:T,
MATCH(B7,Sheet1!A:A,0),1)={"ATA115115","BBDD101101 "},"YES","NO"))

It works fine until Sheet1!T:T,MATCH(B7 where it finds "BBDD101101" part
where I need it to input "YES" I only get a "NO"

If I delete the BBDD101101" part then the formula works fine, so has anyone
got any idea's to what I am doing wrong? How do I get the BBDD101101 to
return a "YES"?

Any help would be very much appreciated.

Bob

  #4   Report Post  
dbl
 
Posts: n/a
Default 2nd part of formula not working

Thanks Biff & Domenic that works fine.

Regards Bob
"Biff" wrote in message
...
Hi!

You have OR in the wrong location. Put it inside the second IF:

=IF(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="","Y ES",IF(OR(INDEX(Sheet1!T:T,MATCH(B7,Sheet1!A:A,0)) ={"ATA115115","BBDD101101"}),"YES","NO"))

Biff

"dbl" wrote in message
...
Hi I have the following formula:

=IF(OR(INDEX(Sheet1!C:C,MATCH(B7,Sheet1!A:A,0))="" ),"YES",IF(INDEX(Sheet1!T:T,MATCH(B7,Sheet1!A:A,0) ,1)={"ATA115115","BBDD101101"},"YES","NO"))

It works fine until Sheet1!T:T,MATCH(B7 where it finds "BBDD101101" part
where I need it to input "YES" I only get a "NO"

If I delete the BBDD101101" part then the formula works fine, so has
anyone got any idea's to what I am doing wrong? How do I get the
BBDD101101 to return a "YES"?

Any help would be very much appreciated.

Bob





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
Keeping one part of a formula same, but change other cell ref? kwelp Excel Discussion (Misc queries) 3 May 17th 05 10:00 PM
Fomatting part of a formula to be Bold font KimberlyC Excel Worksheet Functions 7 May 6th 05 02:18 AM
Part Number/Qty Consolidations [email protected] Excel Discussion (Misc queries) 2 February 6th 05 09:21 PM
Bold part of formula results Rita Palazzi Excel Discussion (Misc queries) 4 December 16th 04 07:51 PM
What instead of an array formula part 2 Reg Besseling Excel Discussion (Misc queries) 2 December 10th 04 07:35 AM


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