+ Reply to Thread
Results 1 to 5 of 5

problem with number ranges

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    La, CA
    MS-Off Ver
    Excel 2003
    Posts
    70

    problem with number ranges

    hey guys,

    i'm using a table like this:

    1 to 10% |11 to 20%| 21 to 30%
    good | well | very well

    if for examp. i put in a textbox a percentage between 1 and 10 it must write "good" and so ...


    thanks in advance for help
    regards

  2. #2
    Registered User
    Join Date
    05-06-2009
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: problem with number ranges

    Make a reference list Column A/Column B:
    1/Good
    11/Well
    21/Very well

    Say you are putting your value in cell F2, put this formula in G2:
    =LOOKUP(F1,A1:B3)

    If you plug in "5" into F2, the formula will result with "Good", "15" with "Well" and so forth.

  3. #3
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: problem with number ranges

    You could just use the LOOKUP formula with your variables/results as part of the formula:

    Please Login or Register  to view this content.
    Where the LOOKUP VECTOR is the low end of the range you are looking for.

  4. #4
    Registered User
    Join Date
    05-06-2009
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: problem with number ranges

    Chance2, that is great!

  5. #5
    Registered User
    Join Date
    02-20-2009
    Location
    La, CA
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: problem with number ranges

    thank you guys

    respect ...

+ 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.6.0 RC 1