+ Reply to Thread
Results 1 to 8 of 8

I require help with an IF OR Formula

  1. #1
    Registered User
    Join Date
    07-22-2018
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    3

    I require help with an IF OR Formula

    So basically I am creating a spreadsheet for a budget. I need help creating a formula.

    if H5:H7 is less than 2000 then K6 = 300
    but if H5:H7 is greater than 2000 but less than 4000, k7 needs to = 600.
    and if H5:H7 greater than 4000 then k7 needs to equal 900.

    how would this formula be input?
    Last edited by DJAMESRUSHLOW; 07-22-2018 at 05:14 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: I require help with an IF OR Formula

    Assuming that the first line should say K7 = 300, not K6 = 300, try

    =MIN(900,CEILING(SUM(H5:H7),2000)*0.15)

    Please read the rules that you agreed to follow when you joined the forum https://www.excelforum.com/forum-rul...rum-rules.html and edit your thread title accordingly if you require any additional help with this. Thanks.
    Last edited by jason.b75; 07-22-2018 at 05:57 AM.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: I require help with an IF OR Formula

    try =IF(SUM(H5:H7) < 2000,300,IF(sum(H5:H7) < 4000,600,900))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    07-22-2018
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    3

    Re: I require help with an IF OR Formula

    This worked amazingly. you Rock!
    Last edited by AliGW; 07-22-2018 at 05:48 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: I require help with an IF OR Formula

    In future, please make your thread titles more helpful to all.
    • Use concise, accurate thread titles.
    • Your post title should 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 tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    And please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: I require help with an IF OR Formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: I require help with an IF OR Formula

    you're welcome! Since you are new to the forum, you can also thank contributors by clicking on * add reputation below their posts as that is how we advance on this forum.

  8. #8
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: I require help with an IF OR Formula

    Also, it's always worth looking at all suggestions, even if you're not going to use them. The best one now might not always be the best one later if criteria change.

    Sambo's suggestion is a simple and effective answer to your question, but is exactly what you asked for, an IF OR formula. When you only have 2 or 3 simple criteria then this works fine, but if you have more it can soon get out of hand. If your scale carried on, up to 6000 return 1200, up to 8000, 1500, 10000,1800, etc. Each would require another IF to be added to the formula.

    Imagine how the formula would look if you had 100 pairs of values

    In the same situation, the method that I suggested will not get any longer (ok, an extra character or 2, but that's about it). All you would need to do is change the first figure (900) to the upper cap if there is one,if there is no cap then you just remove the number and the formula gets shorter.

+ 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: 2
    Last Post: 06-15-2016, 06:59 PM
  2. Require a formula
    By dicottrell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2015, 11:35 AM
  3. Excel 2013 Formula help required.
    By jamiehartle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-06-2014, 07:56 AM
  4. Require information on how a specific formula works (see inside for formula)
    By twiggywales in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-04-2012, 10:13 AM
  5. [SOLVED] Require Help - Require Formula for Multiple values in both columns
    By krodge in forum Excel General
    Replies: 6
    Last Post: 01-13-2012, 03:42 AM
  6. Require Formula
    By rasik in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-10-2005, 06:41 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