+ Reply to Thread
Results 1 to 10 of 10

Calculating a Surcharge Percentage for every 10 cent increase from base.

  1. #1
    Registered User
    Join Date
    12-24-2013
    Location
    OK
    MS-Off Ver
    Office 365 2013
    Posts
    14

    Lightbulb Calculating a Surcharge Percentage for every 10 cent increase from base.

    I am sure I'm making this harder than it really is but....
    The OCC law is: (Using $2.00/Gal as a base price)
    "The wrecker fees may be adjusted to allow a 1% increase in fees for every ten-cent increase in fuel cost starting at $2.10/gal."

    So...I have it working where I type in the number that corresponds to the number of 10-cent increases over 2.00 and it takes the total fees and times them by that number as a percentage. It works...but I want a more clear set way to do this.
    So columnA[FuelBasePrice] columnB[FuelActualPrice] columnC[SurchargePercent]
    But I can't find a reference anywhere to calculate the number of times a number goes over 10-cents after a base price.

    Maybe I'm wording it wrong, I'm not sure.

    Can someone please help me?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Perhaps something like this will help?
    A
    B
    2
    2.00
    0.00
    3
    2.10
    1.00
    4
    2.20
    2.00
    5
    2.30
    3.00
    6
    2.40
    4.00
    7
    2.50
    5.00
    8
    2.60
    6.00
    9
    2.70
    7.00
    10
    2.80
    8.00
    11
    2.90
    9.00
    12
    3.00
    10.00
    13
    3.10
    11.00
    14
    3.20
    12.00
    15
    3.30
    13.00
    16
    3.40
    14.00

    B2=(A2-2)/0.1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Row\Col
    A
    B
    C
    1
    Gas Price
    Surcharge
    2
    $ 2.00
    0%
    B2: =MAX(0, INT((A2 - 2)/0.1))%
    3
    $ 2.04
    0%
    4
    $ 2.08
    0%
    5
    $ 2.11
    1%
    6
    $ 2.19
    1%
    7
    $ 2.24
    2%
    8
    $ 2.28
    2%
    9
    $ 2.32
    3%
    10
    $ 2.40
    4%
    11
    $ 2.46
    4%
    Last edited by shg; 01-18-2016 at 05:56 PM.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    12-24-2013
    Location
    OK
    MS-Off Ver
    Office 365 2013
    Posts
    14

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Quote Originally Posted by FDibbins View Post
    Perhaps something like this will help?
    A
    B
    2
    2.00
    0.00
    3
    2.10
    1.00
    4
    2.20
    2.00
    5
    2.30
    3.00
    6
    2.40
    4.00
    7
    2.50
    5.00
    8
    2.60
    6.00
    9
    2.70
    7.00
    10
    2.80
    8.00
    11
    2.90
    9.00
    12
    3.00
    10.00
    13
    3.10
    11.00
    14
    3.20
    12.00
    15
    3.30
    13.00
    16
    3.40
    14.00

    B2=(A2-2)/0.1
    Well, i don't want to have an extra table added on, but the formula you gave helps alot. I modified it to:
    =(([@FuelActualPrice]-2)/0.1)/100

    Although on $2.20 it gives a result of 0.00%

    Also @shg I'm not sure if I'm "supposed" to but i do round the percentage up so at $2.19/Gal I add 2%

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Sorry, was not advocating an extra table, just showing how that formula would work to show how many "increases" would be in a given value.

    Perhaps you entered something wrong? Below is a table to demonstrate how your formula would work...
    A
    B
    4
    2.00
    0%
    5
    2.10
    1%
    6
    2.20
    2%
    7
    2.30
    3%
    8
    2.40
    4%
    9
    2.50
    5%
    10
    2.60
    6%
    11
    2.70
    7%

    B4=((A4-2)/0.1)/100
    copied down

    (again, not suggesting another table, just showing how it works)

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    I'm not sure if I'm "supposed" to but i do round the percentage up so at $2.19/Gal I add 2%
    If that were correct, the law would more likely read "... may be adjusted to allow a 0.1% increase in fees for every one-cent increase in fuel cost starting at $2.10/gal."

  7. #7
    Registered User
    Join Date
    12-24-2013
    Location
    OK
    MS-Off Ver
    Office 365 2013
    Posts
    14

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Quote Originally Posted by breakingme10 View Post
    Well, i don't want to have an extra table added on, but the formula you gave helps alot. I modified it to:
    =(([@FuelActualPrice]-2)/0.1)/100

    Although on $2.20 it gives a result of 0.00%

    Also @shg I'm not sure if I'm "supposed" to but i do round the percentage up so at $2.19/Gal I add 2%



    I'm so silly even though i typed my modified version of the formula correctly here, i was going against the base price in the actual spreadshet!

  8. #8
    Registered User
    Join Date
    12-24-2013
    Location
    OK
    MS-Off Ver
    Office 365 2013
    Posts
    14

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    Quote Originally Posted by shg View Post
    If that were correct, the law would more likely read "... may be adjusted to allow a 0.1% increase in fees for every one-cent increase in fuel cost starting at $2.10/gal."
    For billing complaints they have a number they can call regarding rates and fees lol

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    In that case, just add 20% and be done with it.

  10. #10
    Registered User
    Join Date
    12-24-2013
    Location
    OK
    MS-Off Ver
    Office 365 2013
    Posts
    14

    Re: Calculating a Surcharge Percentage for every 10 cent increase from base.

    I can't do that, but as I said earlier I modified the formula under that first post and it works. So I'm good

+ 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] Formula for percentage Increase and corresponding percentage decrease (and viceversa)
    By jcroque89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2015, 10:25 AM
  2. Calculating Trendline Percentage Increase
    By Justmegan93 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-13-2015, 08:49 AM
  3. Calculating percentage increase
    By OlSchool in forum Excel General
    Replies: 3
    Last Post: 12-13-2011, 09:20 AM
  4. Replies: 2
    Last Post: 07-12-2011, 11:08 AM
  5. Replies: 6
    Last Post: 11-13-2009, 02:02 AM
  6. Calculating a fuel surcharge
    By hackbrew in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2008, 10:00 AM
  7. Calculating Percentage increase or decrease
    By RTPCT in forum Excel General
    Replies: 1
    Last Post: 07-13-2007, 09:27 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