Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sonya
 
Posts: n/a
Default INDEX, FIND.... MATCH????

I posted this question once but the answer I got returned #NA. So I'm asking
for help again....

I need to search one column of worksheet 3 and find where the text "car"
occurs in c4:c44, for whichever cell in column c contains the text "car" (if
it is in c34), I need it to return the value contained in column b (the value
I would be looking for in this example would be b34.

This information will be pulled from sheet 3 of a worksheet and posted in
sheet 1.

  #2   Report Post  
bpeltzer
 
Posts: n/a
Default INDEX, FIND.... MATCH????

=index(Sheet3!$b$4:$b$44,match("car",Sheet3!$c$4:$ c$44,false))
This will return #NA if 'car' doesn't appear in the range c4:c44.
HTH. --Bruce

"Sonya" wrote:

I posted this question once but the answer I got returned #NA. So I'm asking
for help again....

I need to search one column of worksheet 3 and find where the text "car"
occurs in c4:c44, for whichever cell in column c contains the text "car" (if
it is in c34), I need it to return the value contained in column b (the value
I would be looking for in this example would be b34.

This information will be pulled from sheet 3 of a worksheet and posted in
sheet 1.

  #3   Report Post  
Sonya
 
Posts: n/a
Default INDEX, FIND.... MATCH????

Thank You!

It worked like a charm. Could you tell me how to fix it so that if the value
I am searching for does not exist it will simply leave the cell blank ( not
return an answer) instead of returning #N/A?


"bpeltzer" wrote:

=index(Sheet3!$b$4:$b$44,match("car",Sheet3!$c$4:$ c$44,false))
This will return #NA if 'car' doesn't appear in the range c4:c44.
HTH. --Bruce

"Sonya" wrote:

I posted this question once but the answer I got returned #NA. So I'm asking
for help again....

I need to search one column of worksheet 3 and find where the text "car"
occurs in c4:c44, for whichever cell in column c contains the text "car" (if
it is in c34), I need it to return the value contained in column b (the value
I would be looking for in this example would be b34.

This information will be pulled from sheet 3 of a worksheet and posted in
sheet 1.

  #4   Report Post  
bpeltzer
 
Posts: n/a
Default INDEX, FIND.... MATCH????

You'd put the function you've got so far inside an IF that test for the NA:

=if(isna(match("car",Sheet3!$c$4:$c$44,false)),"", index(Sheet3!$b$4:$b$44,match("car",Sheet3!$c$4:$c $44,false))).

In words, if the match returns NA, leave the cell blank. Otherwise,
execution the index/match functions.
--Bruce

"Sonya" wrote:

Thank You!

It worked like a charm. Could you tell me how to fix it so that if the value
I am searching for does not exist it will simply leave the cell blank ( not
return an answer) instead of returning #N/A?


"bpeltzer" wrote:

=index(Sheet3!$b$4:$b$44,match("car",Sheet3!$c$4:$ c$44,false))
This will return #NA if 'car' doesn't appear in the range c4:c44.
HTH. --Bruce

"Sonya" wrote:

I posted this question once but the answer I got returned #NA. So I'm asking
for help again....

I need to search one column of worksheet 3 and find where the text "car"
occurs in c4:c44, for whichever cell in column c contains the text "car" (if
it is in c34), I need it to return the value contained in column b (the value
I would be looking for in this example would be b34.

This information will be pulled from sheet 3 of a worksheet and posted in
sheet 1.

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
Index and Match issues Mo Excel Worksheet Functions 3 May 19th 05 07:16 PM
Index & Match on Pivot Table Nelson Excel Discussion (Misc queries) 2 April 11th 05 02:16 PM
Index & Match GolfGal Excel Worksheet Functions 2 April 8th 05 02:15 AM
Find Matching Records in Two Worksheets kittybat Excel Discussion (Misc queries) 2 April 5th 05 06:51 PM
How do I use the Match and Index functions to look up a value tha. Maclanders Excel Worksheet Functions 7 February 10th 05 08:31 PM


All times are GMT +1. The time now is 11:31 AM.

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

About Us

"It's about Microsoft Excel"