+ Reply to Thread
Results 1 to 3 of 3

Rolling over a Remainder

  1. #1
    Registered User
    Join Date
    01-23-2006
    Posts
    3

    Rolling over a Remainder

    Hello all,

    I am not sure which function to use to complete this worksheet. Basically, it needs to do the following:

    For example, cell A1 has the following formula:
    =P6*0.01

    In this particular case, the formula returns the result as .65

    As you can see, the result of this equation is a number that is sometimes less than 1, or if 1 or greater, has a remainder.

    I need to tweak this formula so that if the total is less than 1, (or the remainder of any whole number) that number is rolled over to the next cell in the column (A2) and added to the total of A2.

    In A2, the equation should repeat itself, but should have the .65 (or other remainder) added to it.

    In other words, I only want to see a result displayed if the result is a whole number, and the remainders are continually rolled over to the next cell. Rounding is only an option to the hundredths.

    Thanks for your help!

    Gerberdude

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Not sure I completely follow but these formula will give you the whole number and remainder separately

    =TRUNC(P6*0.01)
    =P6*0.01-TRUNC(P6*0.01)

  3. #3
    Registered User
    Join Date
    01-23-2006
    Posts
    3
    Thanks, that TRUNC really helps, I think that I can nest that inside another formula to give me the result that i want.

    Gerberdude

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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