+ Reply to Thread
Results 1 to 6 of 6

Multiple IF number falls between.....

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Multiple IF number falls between.....

    Hello,

    in column A i have random numbers.

    In colomn B i would like a formula that gives the output:

    "small" if the adjacent cell in column A is less than 10
    "medium" if its between 10 and 30
    "large" if its over 30

    thank you

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple IF number falls between.....

    Try

    =LOOKUP(A2,{0,10,31},{"small","medium","large"})

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Multiple IF number falls between.....

    =IF(A1<10,"Less",IF(AND(A1>=10,A1<=30),"Medium","Large"))
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  4. #4
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: Multiple IF number falls between.....

    thanks guys

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple IF number falls between.....

    You're welcome.

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

    Re: Multiple IF number falls between.....

    Here's another one...

    =IF(A2>30,"Large",IF(A2>=10,"Medium","Small"))
    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] Check if number falls in multiple ranges
    By T15K in forum Excel General
    Replies: 2
    Last Post: 05-29-2013, 08:05 PM
  2. determining if a number falls in a range
    By efried12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2013, 07:09 PM
  3. Replies: 1
    Last Post: 01-17-2013, 10:44 AM
  4. [SOLVED] Need to find which cell a number falls into in multiple ranges.
    By bmhalula in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2012, 08:48 AM
  5. Replies: 1
    Last Post: 01-17-2005, 01:39 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