+ Reply to Thread
Results 1 to 5 of 5

Thread: LOOKUP() not executing

  1. #1
    Registered User
    Join Date
    08-06-2011
    Location
    Croatia
    MS-Off Ver
    Excel 2010
    Posts
    8

    LOOKUP() not executing

    I can't get =LOOKUP(B2;Imenik!A:A;Imenik!B:B) to execute in Office 2010. The formula definition just sits there in the cell and is not executed.

  2. #2
    Registered User
    Join Date
    02-26-2008
    Posts
    1

    Re: LOOKUP() not executing

    hi
    why you select entire column A and B
    and does your data in column A in Ascending order

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: LOOKUP() not executing

    Ensure the cell is format as General and then re-enter the formula.

  4. #4
    Registered User
    Join Date
    08-06-2011
    Location
    Croatia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: LOOKUP() not executing

    It works after reformatting the cells as General and sorting the Imenik spreadsheet in ascending order.

    However, it also finds approximate matches. How can I make it do exact matches, only?

  5. #5
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: LOOKUP() not executing

    If you wish to avoid the need to sort your data in the first instance and find exact matches then use VLOOKUP rather than LOOKUP:

    =VLOOKUP(A2;Imenik!$A:$B;2;0)
    else, with sorted data and LOOKUP you can use exact match by virtue of repetition:

    =IF(LOOKUP(A2;Imenik!$A:$A)=$A2;LOOKUP($A2;Imenik!$A:$B);"")
    Sorted data allows for more efficient calculations, however, in this case I suspect VLOOKUP would make more sense.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0