+ Reply to Thread
Results 1 to 8 of 8

Simple Lookup, Why Error?

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Simple Lookup, Why Error?

    hi all...

    how to fix it :

    Range
    0-19 20-39 40-59 >=60
    100
    125 147
    45 49 78
    47 20 59 87
    10 12 16 47
    79 45 68


    Range (Given) After Formula/Result
    25 #N/A

    thanks in advance..
    john m
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Simple Lookup, Why Error?

    =index($c$5:$f$10,match(c14,$c$5:$c$10,-1),match(c14,{0;20;40;60})+1)

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: Simple Lookup, Why Error?

    Not sure I understand what you are trying to achieve.

    With the range given as 25, what do you expect the result to be?
    HTH
    Regards, Jeff

  4. #4
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Simple Lookup, Why Error?

    sorry, i confused..this my new file attachment..
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,309

    Re: Simple Lookup, Why Error?

    Try

    =INDEX($C$5:$E$8,MATCH($B$12,$B$5:$B$8,1),MATCH($C$12,$C$4:$E$4,1))

    Set headings as shown in attached.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Simple Lookup, Why Error?

    hi John,,great!! Worked...thanks you...

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Simple Lookup, Why Error?

    You can also use this
    Enter formula in D12
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,404

    Re: Simple Lookup, Why Error?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Simple Lookup Help
    By mtnbiker98 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2013, 06:47 PM
  2. [SOLVED] Simple Calendar pop up macro --> error Run-time error '424': Object required
    By am_hawk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2013, 10:38 AM
  3. Simple lookup that I just can't get right
    By kryt0n in forum Excel General
    Replies: 3
    Last Post: 07-09-2010, 08:28 AM
  4. Simple(?) lookup
    By jakobahman in forum Excel General
    Replies: 3
    Last Post: 01-17-2007, 05:48 PM
  5. simple lookup
    By Max_power in forum Excel General
    Replies: 3
    Last Post: 04-21-2006, 06:40 AM
  6. Lookup help (simple)
    By Boggis2000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2006, 07:45 AM
  7. Simple lookup
    By Bill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2005, 11: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