Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shiv
 
Posts: n/a
Default Round Time to 30 minutes

Hello All,

I want to write a function that will round my stat time and end time fields
to 30 minutes.

i.e. if start time is 10:20 it should be converted to 10:30 and if it is
10:40, it should be converted to 11:00 so on and so forth.

Your help on this will be much appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Round Time to 30 minutes

One way:

=ROUNDUP(A1*48,0)/48

--
Kind regards,

Niek Otten


"Shiv" wrote in message ...
Hello All,

I want to write a function that will round my stat time and end time fields
to 30 minutes.

i.e. if start time is 10:20 it should be converted to 10:30 and if it is
10:40, it should be converted to 11:00 so on and so forth.

Your help on this will be much appreciated



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
convert interval to various separate date , time, hr, minutes Todd F. Excel Worksheet Functions 4 July 12th 05 07:25 PM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Round Time JoeMNY Excel Worksheet Functions 1 November 18th 04 07:19 PM
Round Time cpme Excel Worksheet Functions 2 November 18th 04 07:09 PM


All times are GMT +1. The time now is 10:48 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"