+ Reply to Thread
Results 1 to 3 of 3

Stucking on LOOKUP inside INDEX

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Taipei, Taiwan
    MS-Off Ver
    Excel 2010
    Posts
    16

    Stucking on LOOKUP inside INDEX

    Can't remember where I downloaded this exercise, now I forget almost the knowledge of Excel's functions and go reading it again but I don't understand what it is, then I need you help for explaining how LOOKUP handles inside INDEX

    Normally, LOOKUP function has structure:
    LOOKUP(lookup_value, lookup_vector, lookup_result)
    But in the cell "I2" of the exercise, LOOKUP function looks like:
    LOOKUP(H2,{1,2,3},{2,3,4})
    I understand as follows:
    H2 = lookup_value
    {1,2,3} = ???
    {2,3,4} = ???

    lookup_vector & lookup_result which I usually see in form: A1:A100, C1:C100 or A1:G100, D1:P100 ... etc.
    please help me to clear it up
    Attached Files Attached Files

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

    Re: Stucking on LOOKUP inside INDEX

    thats just another way of building an array of values
    you could put 1,2,3 in a1,a2,a3 =lookup(h2,a1:a3,{2,3,4})
    then you could put 2,3,4 in b1:b3
    =lookup(h2,a1:a3,b1:b3)
    sometimes you see it in match
    =match(h2,{100,101,102},0) if h2 had 101 in it it would return 2 the position in the array of the match
    Last edited by martindwilson; 06-19-2012 at 11:20 AM.
    "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

  3. #3
    Registered User
    Join Date
    06-19-2012
    Location
    Taipei, Taiwan
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Stucking on LOOKUP inside INDEX

    Quote Originally Posted by martindwilson View Post
    thats just another way of building an array of values
    you could put 1,2,3 in a1,a2,a3 =lookup(h2,a1:a3,{2,3,4})
    then you could put 2,3,4 in b1:b3
    =lookup(h2,a1:a3,b1:b3)
    sometimes you see it in match
    =match(h2,{100,101,102},0) if h2 had 101 in it it would return 2 the position in the array of the match
    thank you very much!!!

+ 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