#1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Complex match

Current formula puts "Yes" into cell M. I need to fix this formula so when
there is a match, I need to put the value of cell K from Sheet2 into cell G
of Sheet1. How can I do this?

=IF(ISNA(MATCH(F92,Sheet2!$F$21:$F$9300,0)),"",
IF(OR(INDEX(Sheet2!$I$21:$I$9300,MATCH(F92,Sheet2! $F$21:$F$9300,0))="x",
INDEX(Sheet2!$I$21:$I$9300,MATCH(F92,Sheet2!$F$21: $F$9300,0))="R"),
"Yes",""))

Above formula was the answer to my question:
I have 2 sheets. I need to compare F92 of Sheet-1 with Sheet-2 range from
F21:F9300. If there is a match then I need to see corresponding value in
cell I of sheet-2. If that value is X or R, then on Sheet-1, next to F92 I
need to insert Yes into G92. I need to check Sheet-1 F92 thru F1893. As a
result, I will see some "Yes" in column G of sheet-1. How can I do this?

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Complex match

Correction! The result should be in G not in M.

"Vic" wrote:

Current formula puts "Yes" into cell M. I need to fix this formula so when
there is a match, I need to put the value of cell K from Sheet2 into cell G
of Sheet1. How can I do this?

=IF(ISNA(MATCH(F92,Sheet2!$F$21:$F$9300,0)),"",
IF(OR(INDEX(Sheet2!$I$21:$I$9300,MATCH(F92,Sheet2! $F$21:$F$9300,0))="x",
INDEX(Sheet2!$I$21:$I$9300,MATCH(F92,Sheet2!$F$21: $F$9300,0))="R"),
"Yes",""))

Above formula was the answer to my question:
I have 2 sheets. I need to compare F92 of Sheet-1 with Sheet-2 range from
F21:F9300. If there is a match then I need to see corresponding value in
cell I of sheet-2. If that value is X or R, then on Sheet-1, next to F92 I
need to insert Yes into G92. I need to check Sheet-1 F92 thru F1893. As a
result, I will see some "Yes" in column G of sheet-1. How can I do this?

Thank you.

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
Complex Match Vic Excel Discussion (Misc queries) 4 November 10th 09 04:31 PM
Complex Match Vic Excel Discussion (Misc queries) 3 October 23rd 09 06:47 PM
Match with Complex Lookup_array karlsven Excel Worksheet Functions 2 December 20th 07 08:18 AM
Complex Summing probably using Match at some point... George Excel Worksheet Functions 2 October 10th 07 05:39 PM
Complex Index Match Help (or at least complex to me) Jennifer Reitman Excel Discussion (Misc queries) 3 August 10th 06 08:51 PM


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