+ Reply to Thread
Results 1 to 4 of 4

Getting #n/a on lookup

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    17

    Getting #n/a on lookup

    I am getting #n/a on a lookup I am using. It is not on all values and cannot determine what is causing it. I have attached a copy. In E1 the date is entered. The lookup is supposed to get a value in B3 based on the month entered. It works on some months but not all and I get a 0 on a couple instead of the value. Thanks for the help.

    TB
    Attached Files Attached Files
    Last edited by troyakaTB; 01-25-2012 at 06:08 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Getting #n/a on lookup

    Try

    =INDEX('Metric Scores'!$C$5:$N$5,MATCH(I1,'Metric Scores'!$C$4:$N$4,0))

  3. #3
    Registered User
    Join Date
    07-05-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Getting #n/a on lookup

    Thanks, that works. Do you know why the lookup was not? For future reference.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Getting #n/a on lookup

    You can't use LOOKUP that way, since you only have two rows, use HLLOKUP instead.

    =HLOOKUP(TEXT($E$1,"mmm"),'Metric Scores'!$C$4:$N$5,2,0)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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