+ Reply to Thread
Results 1 to 13 of 13

Using ROUNDDOWN function need help

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Using ROUNDDOWN function need help

    Can someone show me how I can get this done?
    A1 - 65
    A2 - =A1*.5
    A3 - =A1*.3
    A4 - =A1*.2

    Result would be
    A2 - 32.5
    A3 - 19.5
    A4 - 13

    But I want it to show A2 as 32, A3 as 19, With the left over in A5. so A5 would have to result in 1.

    Also need help with this.

    A6 - =(A2+A3)/2
    A7 - =(A2+A3+A4)/3

    Result would be
    A6 - 26
    A7 - 21.67

    But i need the results to show A7 as 21, and A8 as 3 (the leftover)

    Is it possible to do that?
    Last edited by peblez; 06-27-2014 at 07:56 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,692

    Re: Using ROUNDDOWN function need help

    This should work for your first issue =ROUNDDOWN(A1*0.5,0) and just repeat for A3 and A4 etc.
    I'm not clear on your second issue A6 - =(A1+A2)/2 because that would result in 48.75 if A1 is 65 and A2 is 32.5
    you might need to better define that one.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    sorry i meant A2+A3. I fixed the OP

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,692

    Re: Using ROUNDDOWN function need help

    ok, if you use the rounddown formula i gave you in cells A2, A3 and A4, then refer your formulas in A6 and A7 to those cells then format as no decimal places you should get your first set of expected results and your second set. As for A8, I'm not sure what you are using to get a 3.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using ROUNDDOWN function need help

    duplicate post ..deleted
    Last edited by martindwilson; 06-27-2014 at 08:13 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using ROUNDDOWN function need help

    a2 =ROUNDDOWN($A$1*0.5,0)
    a3 =ROUNDDOWN($A$1*0.3,0)
    a4 =ROUNDDOWN($A$1*0.2,0)
    a5=a1-sum(a2:a4)
    note with those multipliers that is the equivalent of multiplying a1 by 1
    Last edited by martindwilson; 06-27-2014 at 08:13 AM.

  7. #7
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    think of it in terms of dollars. 65 dollars divided by 3 would yield 21.67 each. but i need that number to round down to the nearest dollar, so it would be 21 dollars each with 0.67, 0.67, 0.66 left from each of the 3 person. well i need those leftover (breakerage) to be added up with the total in A8.

  8. #8
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    Quote Originally Posted by martindwilson View Post
    a2 =ROUNDDOWN($A$1*0.5,0)
    a3 =ROUNDDOWN($A$1*0.3,0)
    a4 =ROUNDDOWN($A$1*0.2,0)
    a5=a1-sum(a2:a4)
    note with those multipliers that is the equivalent of multiplying a1 by 1
    Worked great. now how do i put it for my A6 through A8.
    Those dang $ is throwing me off. never used them in excel before.

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,692

    Re: Using ROUNDDOWN function need help

    I'm glad you liked Martin's answer but wasn't it the same one I gave you? (not to take anything from him but was my answer not clear enough?)

  10. #10
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    Quote Originally Posted by Sambo kid View Post
    I'm glad you liked Martin's answer but wasn't it the same one I gave you? (not to take anything from him but was my answer not clear enough?)
    Sambo yours was the same thing and you was first. but martin gave me the main thing i needed with was the A5. still looking for the formula in A8 though

  11. #11
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,692

    Re: Using ROUNDDOWN function need help

    understand, still working on one. Maybe Martin will get it to you faster than I can.

  12. #12
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    Quote Originally Posted by peblez View Post
    Can someone show me how I can get this done?
    A1 - 65
    A2 - =A1*.5
    A3 - =A1*.3
    A4 - =A1*.2

    Result would be
    A2 - 32.5
    A3 - 19.5
    A4 - 13

    But I want it to show A2 as 32, A3 as 19, With the left over in A5. so A5 would have to result in 1.

    Also need help with this.

    A6 - =(A2+A3)/2
    A7 - =(A2+A3+A4)/3

    Result would be
    A6 - 26
    A7 - 21.67

    But i need the results to show A7 as 21, and A8 as 3 (the leftover)

    Is it possible to do that?
    I just realized I made a mistake if im using the ROUNDDOWN function. I need to go back to the orginal amount.
    A6 would have to be =(A1-A4)/2
    A7 would be =A1/3

    A6 would result in 26
    A7 would result in 21.67

    Need A7 to show 21
    Need A8 to show 2 (0.67+0.67+0.66, from the leftover)
    Last edited by peblez; 06-27-2014 at 08:46 AM.

  13. #13
    Registered User
    Join Date
    06-27-2014
    Location
    Biloxi, MS
    MS-Off Ver
    2007
    Posts
    7

    Re: Using ROUNDDOWN function need help

    Quote Originally Posted by peblez View Post
    I just realized I made a mistake if im using the ROUNDDOWN function. I need to go back to the orginal amount.
    A6 would have to be =(A1-A4)/2
    A7 would be =A1/3

    A6 would result in 26
    A7 would result in 21.67

    Need A7 to show 21
    Need A8 to show 2 (0.67+0.67+0.66, from the leftover)
    I think i figured it out.
    A8 would be =A1-SUM(A7*3)

    Thanks so much guys for putting me on the right track.

+ 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. Help with ROUNDDOWN FUNCTION
    By Khaldon in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 04-24-2014, 10:46 PM
  2. [SOLVED] Nesting a ROUNDDOWN Function
    By LuckyMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2012, 04:00 PM
  3. ROUNDUP and ROUNDDOWN function
    By james.kilgore in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-06-2011, 03:50 PM
  4. Solved - rounddown function
    By lenskaraoke in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2007, 12:46 PM
  5. [SOLVED] Roundup / Rounddown function
    By GreenMonster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2005, 05:05 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