+ Reply to Thread
Results 1 to 5 of 5

How Do I Create a Formula to Automatically calculate an amount

  1. #1
    Registered User
    Join Date
    11-28-2022
    Location
    US
    MS-Off Ver
    2022
    Posts
    2

    How Do I Create a Formula to Automatically calculate an amount

    We have to do leak adjustments where I work, and they have a long drawn out way of doing it. I think I can streamline the process by creating a formula for excel so whatever amount my boss puts in it will give her the amounts automatically.

    Ex:

    Water : $43.19
    Sewer: $61.86

    Total: 105.05

    So when someone has a leak we take off one third of the amount and the customer is responsible for the rest and the amount is based off of the bill.
    The water rate is $9.99
    Sewer rate is $24.59

    So what information do I need to create the formula so that my boss can just enter in the amount of the bill and itll tell her how much she needs to take off AND what would that formula look like, because I'm sitting here doing a lot of math for a simple answer and there are thousands of adjustments we need to get through.
    Please Help

  2. #2
    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,499

    Re: How Do I Create a Formula to Automatically calculate an amount

    So when someone has a leak we take off one third of the amount and the customer is responsible for the rest and the amount is based off of the bill.
    The water rate is $9.99
    Sewer rate is $24.59
    taking off 1/3 of the amount of 43.19 is not 9.99, 1/3 of that amount equals 14.40 (rounded) which leaves a balance of 28.79.
    so you may need to at least upload a workbook with amounts and desired results included so we can come up with the formulas.
    instructions for uploading a workbook are at the top of the post in the yellow banner.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How Do I Create a Formula to Automatically calculate an amount

    Hi raeuchiha and welcome to the forum,

    See if the attached does what you want. The rate of the water and sewer don't seem to help in your description above.
    Water Leak Compensation.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    11-28-2022
    Location
    US
    MS-Off Ver
    2022
    Posts
    2

    Re: How Do I Create a Formula to Automatically calculate an amount

    I may have explained it wrong. My apologies.

    If the bill is $105.05 They split that base amount between water and sewer, but its not split evenly. The % is based on usage. So

    ex:
    Water usage: 25.02
    Sewer usage: 42.01

    Total Usage: 67.03

    So then it becomes 25.02/67.03 = 37.33%
    42.01/67.03 = 62.67%
    -Then if it equals 100% we know its correct.

    Then we multiply the base amount of what we are supposed to give back. In this case it was $259.73
    So $259.73 x 37.33% = $96.96 (so thats the water amount)
    $259.73 x 62.67% = $162.77 (thats the sewer amount)
    How do I create a formula that will just do all of that automatically after I find the usage?

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: How Do I Create a Formula to Automatically calculate an amount

    see attached

    =(A4/C4)*E4

    =B4/C4*E4
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Excel automatically calculate store/webstore amount
    By Robinazer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2022, 11:58 AM
  2. [SOLVED] TOTAL AMOUNT data in each worksheet is not empty, and the last row automatically calculate
    By Sakurayuki in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2021, 12:23 AM
  3. [SOLVED] Calculate the amount (£) using a formula
    By gbleslie029 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-10-2020, 05:56 AM
  4. Create time sheet to automatically calculate hrs worked
    By cgi2099 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-13-2018, 02:20 AM
  5. Formula to calculate Amount Paid and Amount Past Due
    By TinaAlldredge in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2016, 09:19 AM
  6. Formula to Calculate amount due
    By johnabbru in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-23-2015, 08:03 AM
  7. how do I create a spread sheet to automatically calculate when I
    By wbinfo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-28-2005, 04:05 PM

Tags for this Thread

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