+ Reply to Thread
Results 1 to 8 of 8

Problem Calculating Fractions

Hybrid View

  1. #1
    Registered User
    Join Date
    01-06-2010
    Location
    Little Rock, AR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Problem Calculating Fractions

    I routinely accept payments on behalf of a client. For my work, I charge a 33 1/3% commission. I have tried to set this up in a spreadsheet to calculate payment (column A) minus commission (column (column A)) equals profit to client (column C).

    I have tried several formulas, all of which render outputs that are not always exactly accurate.

    As an example, if I enter 100 in Column A, and formula A/3 in B, the output is correct:
    100.00 -33.33 66.67

    The output is INCORRECT if 50 is entered in Column A; for my purposes the calculation needs to be exact or 16.67:

    50.00 -16.66 33.34

    To try to resolve this problem, I used the ROUNDUP function. This fixes the problem with an input of 50 but causes a problem with an input of 100.

    Finally, I also tried using the TRUNC function. The TRUNC function gives me similar results; most of the outputs are correct, but some are off by a penny.

    I've attached a copy of the most recent spreadsheet that I used.
    Attached Files Attached Files
    Last edited by shawnkey; 02-11-2015 at 05:32 PM.

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

    Re: Problem Calculating Fractions

    Maybe like this.

    See the attached data in column N O P
    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.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Problem Calculating Fractions

    In F3
    Formula: copy to clipboard
    =-E3/3


    In G3
    Formula: copy to clipboard
    =E3*2/3
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    01-06-2010
    Location
    Little Rock, AR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Problem Calculating Fractions

    Again, the formula that requires a division by 3 (X/3) works sometimes but not all the time.

    For example, if I enter 2401.58, I need a result to return of $800.43 (2401.58*.3333). If I divide 2401.58 by 3, I get $800.53.

    Similarly, if I enter 2031.31, I need a result to return of $677.04. Dividing 2031.31 by 3, I get $677.10.

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem Calculating Fractions

    Another way, put this in E3 and copy down
    =TRUNC(-E3*0.3333,2)
    Not sure which method is more accurate.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

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

    Re: Problem Calculating Fractions

    Have you tried the formula of just Round()?

    Like

    =Round(A1,2)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  7. #7
    Registered User
    Join Date
    01-06-2010
    Location
    Little Rock, AR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Problem Calculating Fractions

    Gmr4evr1, I tried the TRUNC formula you provided in several formats, none of which worked:

    =TRUNC(-E3*0.3333,2)
    =TRUNC(-E3*0.3333,3)
    =TRUNC(-E3*0.3332,2)

  8. #8
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem Calculating Fractions

    My bad, I told you to put it in the wrong cell. It goes in F3, not E3. All I did was take the formula you had and changed the ,3 to ,2 and it seemed to round column G (Net Amount).

+ 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. Problem with fractions rounding, and center justification.
    By Garren1013 in forum Excel General
    Replies: 4
    Last Post: 01-13-2010, 10:43 AM
  2. Problem Matching Fractions using LOOKUP
    By mpboyer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2007, 04:46 PM
  3. Converting Decimal Fractions to Fractions of a Specified Number
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 11:09 AM
  4. Printing fractions problem
    By Steve in forum Excel General
    Replies: 0
    Last Post: 05-06-2005, 09:06 AM
  5. Fractions to Decimals problem
    By nickravo in forum Excel General
    Replies: 1
    Last Post: 03-07-2005, 07:06 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