+ Reply to Thread
Results 1 to 6 of 6

LOOKUP problem

  1. #1
    Registered User
    Join Date
    04-18-2007
    Posts
    2

    LOOKUP problem

    Hi,
    Firstly the forum is an awesome resource, i have received alot of tips and help here.

    Anyway my problem is that when using the LOOKUP cmd my array and result list dosnt seem to be lining up properly. i have 50 or so text values in column A and the exact same amount lining up in B, but they dont match up, wats happening?
    I tried to generate the problem again to see what was going on and I came a cross this, i just dnt see why its happening.
    Attached Files Attached Files
    Last edited by DMckinlay; 04-18-2007 at 03:04 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    You may want to try index and match instead - always my prefered option!

    =INDEX($A$1:$B$13,MATCH(D11,$A$1:$A$13,0),2)

    hth

    dave

  3. #3
    Registered User
    Join Date
    04-18-2007
    Posts
    2
    THANKS that worked a treat

  4. #4
    Registered User
    Join Date
    02-27-2007
    Posts
    14
    Regarding the VLOOKUP did you Lock your cells $$$$$?

  5. #5
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    I realize you found an alternate method. If you were wondering why the LOOKUP formula was not working, it is because your lookup array was not in ascending order. In order for it to work, values must be sorted low to high.

  6. #6
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Or, if you don't want to sort it, use the parameter FALSE in the lookup

    Ed

+ 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