+ Reply to Thread
Results 1 to 6 of 6

Finding the corresponding letter in between range

  1. #1
    Forum Contributor
    Join Date
    09-15-2012
    Location
    las vegas
    MS-Off Ver
    excel 2007
    Posts
    147

    Finding the corresponding letter in between range

    I have two columns (one is mean and the other is max) and the third column, I have the corresponding letter. I have in total 5 rows with mins and maxes and corresponding letters. I want a function that when i put for example #3 on cell D9, then my cell E9 will spit out the corresponding letter.

    Please see the attachment.
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Finding the corresponding letter in between range

    Try this in E9

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,178

    Re: Finding the corresponding letter in between range

    Similar solution...

    Sktneer is as quick as ever!!
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Finding the corresponding letter in between range

    Quote Originally Posted by Glenn Kennedy View Post
    Similar solution...

    Sktneer is as quick as ever!!
    But your formula is much simpler and better than mine.

  5. #5
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Finding the corresponding letter in between range

    Oooh! So that's when you should use TRUE for Range_lookup in a vlookup!


    Interesting note, between both of your solutions, over-range choices return opposite results. 100 gives an E with the vlookup, and an A with the index/match.
    Last edited by Speshul; 06-26-2014 at 03:02 PM.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Finding the corresponding letter in between range

    Quote Originally Posted by Speshul View Post
    Interesting note, between both of your solutions, over-range choices return opposite results. 100 gives an E with the vlookup, and an A with the index/match.
    I don't think that OP is considering that scenario. He said that he has only five rows with Min and Max and row 5 will always contain the max possible number i.e. upper limit.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding the corresponding letter in between range

    Try this...

    Data Range
    C
    D
    E
    F
    1
    2
    1
    5
    A
    3
    6
    8
    B
    4
    9
    11
    C
    5
    12
    15
    D
    6
    16
    20
    E
    7
    8
    13
    D
    9
    3
    A
    10
    ------
    ------
    ------
    ------


    This formula entered in E8 and copied down:

    =LOOKUP(D8,C$2:F$6)

    Any number >=16 will return E.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. [SOLVED] Finding the first letter in a cell
    By hk4kim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-24-2013, 10:03 AM
  2. Finding the sum of cells with a particular letter
    By rtabaldi in forum Excel General
    Replies: 1
    Last Post: 09-07-2011, 01:16 PM
  3. Finding the last letter in a cell
    By MikeWinn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2008, 05:19 PM
  4. finding characters after a letter in cell
    By tinkerbelle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-05-2007, 11:36 AM
  5. if/or finding one letter in a cell
    By SHIGOTO in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2007, 11:16 AM

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