+ Reply to Thread
Results 1 to 6 of 6

Trying to find corresponding value on a table/chart

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Trying to find corresponding value on a table/chart

    Ok....not sure how to describe this perfectly, but here goes.

    On sheet #1 cell H4 I have a certain number value % that is determined off of info on that sheet.

    On sheet #2 I have a table Column C7-C27 has a set of point values 0-20. D7-D27 are a list of percentages corresponding to the values Creating a range

    Example
    C D
    0 0%
    1 6%
    2 12%
    3 17%
    4 23%
    5 29%
    6 35%
    7 41%
    8 47%

    etc...
    19 96%
    20 100%

    On sheet 1 H4 the value is for example 28%. What do I need to put in H5 so it can show the corresponding value in column C of the chart(in this case it would be 4).

    I hope this makes sense. Any help would be greatly appreciated. :-)

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Trying to find corresponding value on a table/chart

    Try

    =OFFSET(C7,MATCH(LOOKUP(H4,Sheet2!C7:D27),C7:D27)-1,0)

    The LOOKUP returns the nearest value without going over in this case 28% so it returns 23%
    The MATCH returns the row number in column D
    The OFFSET returns the content of cell pertaining to that row
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Trying to find corresponding value on a table/chart

    Thanks...I have the file at work. I will be trying it out then and let you know how it works. Thanks for the quick feedback. This site is awesome

  4. #4
    Registered User
    Join Date
    09-07-2012
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Trying to find corresponding value on a table/chart

    ok..that did not work. Does anyone else have any ideas

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Trying to find corresponding value on a table/chart

    can you upload a sample file so we can see the context/layout etc of your data?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Trying to find corresponding value on a table/chart

    Try

    =LOOKUP(H4,Sheet2!D7:D27,Sheet2!C7:C27)

+ 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