Results 1 to 4 of 4

Alternate Vlookup formula

Threaded View

  1. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Alternate Vlookup formula

    $A$10 is simply the value you would like to match. This formula is copied exactly from the website I linked. In that site, A10 was simply the cell they were comparing.

    Using your situation described above, I would designate, say, D1 as your "Variable" cell. Meaning we will search column A for all records that match the value of D1

    So, I would then paste into E1 this formula

    =IF(ISERROR(INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$D$1,ROW($A$1:$A$7)),ROW(1:1)),2)),"",INDEX($A$1:$B$ 7,SMALL(IF($A$1:$A$7=$D$1,ROW($A$1:$A$7)),ROW(1:1)),2))

    Then I would copy that formula down as far as necessary. As you copy the formula, Excel will change the bit "Row(1:1)" to "Row(2:2)" and so on. Thereby giving you subsequent matches to your D1 value.
    Last edited by Whizbang; 07-23-2010 at 02:47 PM.

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