+ Reply to Thread
Results 1 to 31 of 31

rounding in quarter increments

  1. #1
    Registered User
    Join Date
    07-23-2005
    Posts
    2

    Unhappy rounding in quarter increments

    I am trying to find the best formula to demonstrate the length of time it takes to perform tasks and then round them to quarter day increments. For example, a task takes 10 hours to perform I need a formula that will take the 10 hours and display 1.25 (assuming an 8 hour work day).

    By the same token though if it is 10.5 hours it should roundup to 1.5 and not display 1.3.

    Any help would be greatly appreciated.

  2. #2
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  3. #3
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  4. #4
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  5. #5
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  6. #6
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  7. #7
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  8. #8
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  9. #9
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  10. #10
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  11. #11
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  12. #12
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  13. #13
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  14. #14
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  15. #15
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  16. #16
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  17. #17
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  18. #18
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  19. #19
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  20. #20
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  21. #21
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  22. #22
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  23. #23
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  24. #24
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  25. #25
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  26. #26
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  27. #27
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  28. #28
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  29. #29
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




  30. #30
    JE McGimpsey
    Guest

    Re: rounding in quarter increments

    One way:

    If your times are in XL time format (e.g., 10:00), then


    =CEILING(D30*3,0.25)

    (The 3 comes from 8 hours being 1/3 of a day, so hours need to be
    multiplied by 3).

    If instead your times are entered as number of hours (e.g., 10.0, 10.5),
    then

    =CEILING(A1/8,0.25)




    In article <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>,
    toastnbutter
    <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com> wrote:

    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.


  31. #31
    KL
    Guest

    Re: rounding in quarter increments

    Hi,

    if total hours number is in [A1], then try this:

    1) for normal rounding

    =ROUND(A1/8/0.25,0)*0.25

    2) for rounding up (which is what your example suggests)

    =ROUNDUP(A1/8/0.25,0)*0.25
    =CEILING(A1/8/0.25,1)*0.25

    3) for rounding down

    =ROUNDDOWN(A1/8/0.25,0)*0.25
    =INT(A1/8/0.25)*0.25
    =TRUNC(A1/8/0.25)*0.25
    =FLOOR(A1/8/0.25,1)*0.25

    you can also use the MROUND function, which is part of the ATP (Analysis
    ToolPack), but I never recommend those formulas for compatipility reasons.

    Regards,
    KL


    "toastnbutter" <toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com>
    wrote in message
    news:toastnbutter.1sm22a_1122102321.2141@excelforum-nospam.com...
    >
    > I am trying to find the best formula to demonstrate the length of time
    > it takes to perform tasks and then round them to quarter day
    > increments. For example, a task takes 10 hours to perform I need a
    > formula that will take the 10 hours and display 1.25 (assuming an 8
    > hour work day).
    >
    > By the same token though if it is 10.5 hours it should roundup to 1.5
    > and not display 1.3.
    >
    > Any help would be greatly appreciated.
    >
    >
    > --
    > toastnbutter
    > ------------------------------------------------------------------------
    > toastnbutter's Profile:
    > http://www.excelforum.com/member.php...o&userid=25511
    > View this thread: http://www.excelforum.com/showthread...hreadid=389556
    >




+ 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