Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default VLookup needed to search one value and return multipe results


--
KaiChon
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default VLookup needed to search one value and return multipe results

Refer the below article by Ashish..

http://office.microsoft.com/en-us/ex...260381033.aspx

If this post helps click Yes
---------------
Jacob Skaria


"Seth" wrote:


--
KaiChon

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLookup needed to search one value and return multipe results

Another much simpler & faster alternative, imo, is to use just one helper col
to specify the requisite criteria, then you can extract all the multiple line
results which will be neatly packed at the top

Here's an example using my response to a similar query in the recent past
.. I have a worksheet with 5 columns and 600 rows. I need to copy all the
rows into a new worksheet that have a specific value in column 3. What
formula do I use for this?


Here's a formulas set-up to accomplish it ..

Assume source data in Sheet1, cols A to E,
data from row2 down, key col = col C

In another sheet
Assume the specific value for col C will be entered in A2
In B2: =IF(A$2="","",IF(Sheet1!C2=A$2,ROW(),""))
Leave B1 empty

In C2:
=IF(ROWS($1:1)COUNT($B:$B),"",INDEX(Sheet1!A:A,SM ALL($B:$B,ROWS($1:1))))
Copy C2 across by 5 cols to G2. Select B2:G2, fill down to cover the max
expected extent of source data in Sheet1, say down to G600. Minimize/hide
away col B. Cols C to G will return the required results from Sheet1
(dependent on the input in A2), with all lines neatly packed at the top.

Success? High five it, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
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
Lookup value with multipe Results John Excel Worksheet Functions 5 February 24th 09 11:37 PM
VLOOKUP/HLOOKUP to Return Several Results djDaemon Excel Worksheet Functions 3 December 19th 08 01:27 AM
Return an array of results with a vlookup Singh Excel Discussion (Misc queries) 0 August 7th 08 05:15 PM
Vlookup to return results of If statement ruthhicks999 Excel Worksheet Functions 0 February 27th 07 11:25 AM
how to return multiple results in vlookup? Landa Excel Worksheet Functions 3 July 20th 06 08:27 AM


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