#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MEH MEH is offline
external usenet poster
 
Posts: 2
Default rounding time

I'm trying to create an easy way to round a person's log in/ log out
times...

For instance, if they log in between 8am and 8:07, it rounds down to 8:00.
If it's between 8:08 and 8:15, it rounds to 8:15.

8:17 rounds to 8:15, 8:23 would round to 8:30...

So I only need the minutes to round to the quarter hour.

It gets very complicated and my brain freezes ;) What can I say? Any help?

TIA,
Mary


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default rounding time

Hi,
if you have Analysis Toolpak installed then you can use:

=MROUND(A2,15/1440)

HTH
Kostis Vezerides

On Feb 26, 7:43 pm, "MEH" wrote:
I'm trying to create an easy way to round a person's log in/ log out
times...

For instance, if they log in between 8am and 8:07, it rounds down to 8:00.
If it's between 8:08 and 8:15, it rounds to 8:15.

8:17 rounds to 8:15, 8:23 would round to 8:30...

So I only need the minutes to round to the quarter hour.

It gets very complicated and my brain freezes ;) What can I say? Any help?

TIA,
Mary



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default rounding time

One way:

=ROUND(A1*96,0)/96

(Format the cell as time)

In article ,
"MEH" wrote:

I'm trying to create an easy way to round a person's log in/ log out
times...

For instance, if they log in between 8am and 8:07, it rounds down to 8:00.
If it's between 8:08 and 8:15, it rounds to 8:15.

8:17 rounds to 8:15, 8:23 would round to 8:30...

So I only need the minutes to round to the quarter hour.

It gets very complicated and my brain freezes ;) What can I say? Any help?

TIA,
Mary

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MEH MEH is offline
external usenet poster
 
Posts: 2
Default rounding time


"JE McGimpsey" wrote in message
...
One way:

=ROUND(A1*96,0)/96

(Format the cell as time)

In article ,
"MEH" wrote:

I'm trying to create an easy way to round a person's log in/ log out
times...

For instance, if they log in between 8am and 8:07, it rounds down to
8:00.
If it's between 8:08 and 8:15, it rounds to 8:15.

8:17 rounds to 8:15, 8:23 would round to 8:30...

So I only need the minutes to round to the quarter hour.

It gets very complicated and my brain freezes ;) What can I say? Any
help?

TIA,
Mary


OK - my brain is impressed and still doesn't realize how this works, nor
does it care.

:) Thanks SO much.


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
Rounding Time? stoch05 Excel Worksheet Functions 2 October 18th 06 07:52 PM
Time rounding help Sanch Excel Discussion (Misc queries) 3 June 30th 06 06:37 PM
Rounding Time Darts Excel Discussion (Misc queries) 11 March 23rd 06 10:55 PM
Rounding Time? ChrisW Charts and Charting in Excel 2 October 12th 05 12:55 PM
Rounding of Time Morten Excel Worksheet Functions 2 August 5th 05 09:11 PM


All times are GMT +1. The time now is 04:50 PM.

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

About Us

"It's about Microsoft Excel"