+ Reply to Thread
Results 1 to 7 of 7

An Array VLOOKUP that returns a value from a random position

Hybrid View

  1. #1
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: An Array VLOOKUP that returns a value from a random position

    i think you can use this shorter non array formula
    =INDEX($B$4:$B$21,MATCH(1,INDEX(($A$4:$A$21=F4)*($B$4:$B$21<>""),0),0))
    or
    =LOOKUP(1,1/(($A$4:$A$21=F4)*($B$4:$B$21<>"")),$B$4:$B$21)
    Last edited by martindwilson; 12-04-2013 at 09:30 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  2. #2
    Registered User
    Join Date
    12-03-2013
    Location
    Europe
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: An Array VLOOKUP that returns a value from a random position

    Thank you all very much for your help.

    All the best!

+ 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. Vlookup returns Array
    By blueiris8 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2013, 10:25 PM
  2. VLOOKUP array function returns the same column
    By murphy_sj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2012, 12:35 AM
  3. [SOLVED] vlookup returns last value in array
    By Nicholas Scarpinato in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-12-2006, 02:10 PM
  4. vlookup based on random result returns incorrect result
    By rickat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2005, 09:20 AM
  5. [SOLVED] How do I find random number in list of random alpha? (Position is.
    By jlahealth-partners in forum Excel General
    Replies: 0
    Last Post: 02-08-2005, 02:06 PM

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