+ Reply to Thread
Results 1 to 5 of 5

IF formula required

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-03-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    246

    IF formula required

    I am trying to work out the formula to calculate mileage up to 10 miles at £0.45, and miles above at £0.25.

    I have a column that calculates the £ values but when the mileage reaches 11 the who;e column is recalculated to the lower amount.

    I need the the calculations up to 10 to remain unchanged.

    I have hopefully attached a sample worksheet that might explain better.

    Help would be much appreciated. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF formula required

    Hi and welcome to the forum,

    Use the following instead in G11 copied down

    Formula: copy to clipboard
    =IF(SUM(H$11:H11)<=10,H11*$B$9,H11*$B$11)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    11-03-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    246

    Re: IF formula required

    Thank you Richard that work a treat.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF formula required

    Glad to have helped and thanks for the rep.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: IF formula required

    Or with Vlookup

    add 0 in A9
    add 11 in a11

    g11=VLookup($H$21,$A$9:$B$11,2,1)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] SUM formula required
    By JohnTopley in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2015, 02:46 PM
  2. [SOLVED] Simple Conditional Formating Help Required - If Blank then Red Bold text required
    By thilag in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2014, 12:23 PM
  3. Formula required to hide results from another cell formula
    By 917 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2013, 12:12 AM
  4. Formula required
    By sureshp.rpt in forum Excel General
    Replies: 3
    Last Post: 01-29-2011, 07:14 AM
  5. Formula help required please
    By john.bedford3 in forum Excel General
    Replies: 13
    Last Post: 03-03-2005, 08:43 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