+ Reply to Thread
Results 1 to 4 of 4

Output different numbers depending on the value between 2 numbers

  1. #1
    Registered User
    Join Date
    03-06-2016
    Location
    johannesburg
    MS-Off Ver
    2007
    Posts
    2

    Output different numbers depending on the value between 2 numbers

    Good Day

    I have been searching online for my question and found this particular site http://chandoo.org/wp/2010/06/24/between-formula-excel/ however I'm still a little confused. I'm currently using Excel 2007. Here is my question:

    I need to display a level (number) depending on a percentage:

    0-29% must display "1"
    30-39% must display "2"
    40-49% must display "3"
    50-59% must display "4"
    60-69% must display "5"
    70-79% must display "6"
    80-100% must display "7"

    Any idea how one would do this?

    Any help would be greatly appreciated

  2. #2
    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,363

    Re: Output different numbers depending on the value between 2 numbers

    Two column table D & E

    0 1
    30 2
    40 3
    50 4
    60 5
    70 6
    80 7

    =VLOOKUP(F2,$D$2:$E$8,2,1)

    F2 is % value

  3. #3
    Registered User
    Join Date
    03-06-2016
    Location
    johannesburg
    MS-Off Ver
    2007
    Posts
    2

    Re: Output different numbers depending on the value between 2 numbers

    Thank you very much for the reply.

    I am at work tomorrow and will try this. I will let you know if I come right, I appreciate the quick response and help!

    Have a good day further

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

    Re: Output different numbers depending on the value between 2 numbers

    Quote Originally Posted by JohnTopley View Post
    Two column table D & E

    0 1
    30 2
    40 3
    50 4
    60 5
    70 6
    80 7

    =VLOOKUP(F2,$D$2:$E$8,2,1)

    F2 is % value
    Or...

    =MATCH(F2,D2:D8)
    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. Replies: 1
    Last Post: 09-28-2015, 06:59 AM
  2. Replies: 10
    Last Post: 06-18-2015, 09:21 PM
  3. Separating text from numbers from pdf output
    By Ajmal1000 in forum Excel General
    Replies: 6
    Last Post: 01-10-2015, 04:48 PM
  4. Adding numbers to output dates
    By MasterMonk in forum Excel General
    Replies: 2
    Last Post: 05-03-2007, 04:59 PM
  5. Add numbers depending on other cells
    By babygoode in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-01-2005, 05:41 PM
  6. help with numbers output...permutation
    By andizzle in forum Excel General
    Replies: 0
    Last Post: 05-12-2005, 08:32 PM
  7. generate output of numbers by frequency
    By cathal in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2005, 06:06 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