+ Reply to Thread
Results 1 to 5 of 5

excel formula with 3 or more upper and lower limits

  1. #1
    Registered User
    Join Date
    01-03-2009
    Location
    Chapel Hill, NC
    MS-Off Ver
    Excel 2003
    Posts
    1

    excel formula with 3 or more upper and lower limits

    I am trying to write a formula that essentially says the following but I am struggling.

    Cell A2 = 0 if A1 = less than 20000, 200 if Cell A1 = between 20000 & 24999.99, 300 if Cell A1 = between 25000 & 29999.99, 500 if A1 = 30000 & Over

    Can a guru write it for me?
    Last edited by roraniel; 01-03-2009 at 02:18 PM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Lookup a tiered value

    It appears that you changed your title, so.....
    Try this:

    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,657
    Rewrite as follows, then translate to a formula:
    if A1 = less than 20000 then A2=0,
    else if Cell A1 between 20000 & 24999.99 then A2=200,
    else if Cell A1 between 25000 & 29999.99 then A2=300,
    else A2=500
    Then your formula looks like:
    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    12-30-2008
    Location
    Vermont, USA
    MS-Off Ver
    Excel 2003
    Posts
    64
    =if(isnumber(a1),if(a1<20000,0,if(a1<25000,200,if(a1<30000,300,500))),"")
    Last edited by clownfish; 01-03-2009 at 02:50 PM.

+ 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