+ Reply to Thread
Results 1 to 4 of 4

vlookup for a value that appears more than once in a column.

  1. #1
    Registered User
    Join Date
    12-14-2014
    Location
    israel
    MS-Off Ver
    office 2010
    Posts
    1

    Red face vlookup for a value that appears more than once in a column.

    hello guys
    i want to be able to pull out the rows that have the same value x for example:

    oUliuQn.png

    i want to extract just the rows with the number 3 in the title column with all its columns (extract the row). so i get:

    8Cktb53.png

    please help me out with this. thank you.
    Last edited by sossoi87; 12-14-2014 at 01:55 PM.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup for a value that appears more than once in a column.

    Assuming your data is on Sheet1:

    Use this array formula in in A2 Sheet2. Pull formula down and across

    =IFERROR(INDEX(Sheet1!A:A,SMALL(IF(Sheet1!$A$2:$A$8=3,ROW(Sheet1!$A$2:$A$8)-1),ROWS(A$1:A1))),"")


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: vlookup for a value that appears more than once in a column.

    This should work for you:
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: vlookup for a value that appears more than once in a column.

    Thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Auto fill option based on another colom
    By stephensraj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2014, 02:02 AM
  2. USERFORM FinNext_btn ----which will Find the duplicate value in colom in excel
    By John Cruz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2014, 06:56 AM
  3. Formula to show words in colom
    By Jerrel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2013, 09:18 AM
  4. remove blank cells in a colom
    By Beltzer71 in forum Excel General
    Replies: 3
    Last Post: 12-03-2008, 08:01 AM
  5. get figures into right colom
    By Pallieter in forum Excel General
    Replies: 2
    Last Post: 10-04-2005, 09:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1