+ Reply to Thread
Results 1 to 9 of 9

Vlookup multiple same value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2008
    Posts
    3

    Vlookup multiple same value

    Hi all,

    if possible i am after some guidance or direction with regards to the attached sheet. Basically i am looking for a product (which has the same value but different results)

    could anyone help me achieve in understanding what i would require to achieve the example shown in the attached

    yours humbly empty_space
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Put this formula in X7 and drag across and down as far as possible. It's an array formula so must be entered by pressing Ctrl+Shift+Enter (curly brackets will appear round it):

    =IF(COUNTIF($F$2:$F$145,$V$5)<ROWS(X$7:X7),"",INDEX(G$2:G$145,SMALL(IF($F$2:$F$145=$V$5,ROW(A$2:A$145)-ROW(A$2)+1),ROWS(X$7:X7))))

  3. #3
    Registered User
    Join Date
    01-05-2008
    Posts
    3

    Smile

    HI

    thanks for the feedback, I have tried the information as you indicated and i get an error in formula. However i had this error message in other formulas i found from the other formulas. is it possible my excel is not working properly or some function is missing. any advice or guidance most appreicated

    Empty_space

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    For some reason the forum is inserting spaces into the formula, there's space in INDEX and in the last 145.

    Have a look at the attachment. I've hidden the zeros on the right using conditional formatting.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-05-2008
    Posts
    3
    Many thanks this will help me move forward.

    with my activities

    empty_space

  6. #6
    Forum Contributor
    Join Date
    10-30-2007
    Location
    Norway
    MS-Off Ver
    MS Office 2007
    Posts
    345
    StephenR:

    If you use the CODE wrapping tags around your formula, the forum will display your formula correct without spaces. Just select your formula and press the # button when you write your reply. The formula will appear like this:

    =IF(COUNTIF($F$2:$F$145,$V$5)<ROWS(X$7:X7),"",INDEX(G$2:G$145,SMALL(IF($F$2:$F$145=$V$5,ROW(A$2:A$14 5)-ROW(A$2)+1),ROWS(X$7:X7))))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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