Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default ifference between times rounding up or down the minutes to .25...

I would like to find out how to calculate the difference between times
rounding up or down the minutes to .25 of an hour. For instance, (5:00:00
PM-1:13:00 PM) =3.75 (as a number)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default ifference between times rounding up or down the minutes to .25...

On Jan 29, 11:10*am, Surrey wrote:
I would like to find out how to calculate the
difference between times rounding up or down
the minutes to .25 of an hour. *For instance,
(5:00:00 PM-1:13:00 PM) =3.75 (as a number)


If 5:00 PM is in A1 and 1:13 PM is in A2, then:

=mround((A1-A2)*24,0.25)

If MROUND is not available to you, then:

=round((A1-A2)*24/0.25,0)*0.25

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default ifference between times rounding up or down the minutes to .25...

Try this formula...

=MROUND(24*(A1-B1),0.25)

The MROUND function requires the Analysis ToolPak add-in (to install it,
click on Tools/Add-Ins on Excel's menu bar).

--
Rick (MVP - Excel)


"Surrey" wrote in message
...
I would like to find out how to calculate the difference between times
rounding up or down the minutes to .25 of an hour. For instance, (5:00:00
PM-1:13:00 PM) =3.75 (as a number)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ifference between times rounding up or down the minutes to .25...

Try this:

A1 = 5:00 PM
B1 = 1:13 PM

=ROUND((A1-B1)*24/0.25,0)*0.25

--
Biff
Microsoft Excel MVP


"Surrey" wrote in message
...
I would like to find out how to calculate the difference between times
rounding up or down the minutes to .25 of an hour. For instance, (5:00:00
PM-1:13:00 PM) =3.75 (as a number)



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeSheet Using 100 Minutes & Rounding to .25 Formula Confusion Excel Worksheet Functions 2 March 31st 08 11:53 PM
Rounding times to the nearest 15 minutes in Excel BuckeyeWMV Excel Discussion (Misc queries) 8 April 3rd 07 10:28 PM
Adding minutes to Times ricky Excel Worksheet Functions 4 August 7th 06 04:39 PM
how do I calculate minutes when given two times? Kina Excel Worksheet Functions 2 June 17th 06 04:38 AM
Excel, how do you add times with minutes more than 60 squeeky New Users to Excel 2 June 8th 06 03:35 AM


All times are GMT +1. The time now is 01:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"