Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 63
Default Return all values found for criteria

Microsoft 2003 - I am doing a vlookup to return the value of column 2
(description) if column 1 (name) on the other worksheet is equal to column
1(name) on the main worksheet. However, a name can show up more than once in
the column 1 listing so I need it to return all values in column 2 each time
it is found. The vlookup is finding the first time it matches and then
stops. I need it to keep going down the column and return all values for
that name back to my cell with the formula in it.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Return all values found for criteria

Try to put the formula in the first row:

=INDEX($A$2:$B$6;MATCH($E$1;$A$2:$A$6;ROW()-1);2)

$A$2:$B$6 is your table
"$E$1" has the value that you want to find
"2" is the second column (return)

--

Rodrigo Ferreira


"duketter" escreveu na mensagem
...
Microsoft 2003 - I am doing a vlookup to return the value of column 2
(description) if column 1 (name) on the other worksheet is equal to column
1(name) on the main worksheet. However, a name can show up more than once
in
the column 1 listing so I need it to return all values in column 2 each
time
it is found. The vlookup is finding the first time it matches and then
stops. I need it to keep going down the column and return all values for
that name back to my cell with the formula in it.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Return all values found for criteria

If you have more than one name match, then consider using Autofilter.
Autofilter will display the entire row for all the matches of a given name.
--
Gary''s Student - gsnu200723


"duketter" wrote:

Microsoft 2003 - I am doing a vlookup to return the value of column 2
(description) if column 1 (name) on the other worksheet is equal to column
1(name) on the main worksheet. However, a name can show up more than once in
the column 1 listing so I need it to return all values in column 2 each time
it is found. The vlookup is finding the first time it matches and then
stops. I need it to keep going down the column and return all values for
that name back to my cell with the formula in it.

Thanks

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
Return across Row Numeric Values Matching EXACT Month & Year for Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 October 22nd 06 11:30 PM
Return Numeric Values Matching EXACT Date for Criteria Sam via OfficeKB.com Excel Worksheet Functions 4 October 20th 06 11:20 PM
Vlookup, return zero if not found molsansk Excel Worksheet Functions 2 August 22nd 06 06:40 PM
can lookup return err if no match found Kim Greenlaw Excel Worksheet Functions 12 January 12th 06 05:27 PM
Return text found in a search Dave R. Excel Worksheet Functions 4 May 12th 05 08:53 PM


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