Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default To reformat a culculated date/time round-up to the nearest ½ hour

I'm working on a worksheet to calculate the expected date & time of
complition base on the quantity, output rate of a production line which is
producing multiple products, I would like to round-up to the nearest ½ hr at
the end of each product. Is there any worksheet function that could be used
to manipulate the decimal value of the date/time to the nearest ½ hr or any
VBA function that could to the trick.

Thanks in advance for any advice given.

Regards,

Macgyver Goh


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default To reformat a culculated date/time round-up to the nearest ½ hour

=ROUNDUP(A1*48,0)/48

or

=CEILING(A1,1/48)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Macgyver Goh" wrote in message
...
I'm working on a worksheet to calculate the expected date & time of
complition base on the quantity, output rate of a production line which is
producing multiple products, I would like to round-up to the nearest ½ hr

at
the end of each product. Is there any worksheet function that could be

used
to manipulate the decimal value of the date/time to the nearest ½ hr or

any
VBA function that could to the trick.

Thanks in advance for any advice given.

Regards,

Macgyver Goh




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default To reformat a culculated date/time round-up to the nearest ½ hour

Thank you Bob for the info.

Regards,


"Bob Phillips" wrote in message
...


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
How do I round time down to the nearest half hour? KatJ Excel Worksheet Functions 4 April 3rd 23 07:32 PM
How do I round time to the nearest quarter of an hour Meghan New Users to Excel 6 July 7th 06 06:36 PM
Need to round the time to the nearest quarter hour. Help John Excel Discussion (Misc queries) 1 February 11th 06 06:41 AM
Rounding time to nearest Hour SierraRose Excel Worksheet Functions 1 July 24th 05 02:57 AM
How can I round an hour to the nearest 1/4 hour? Ms Chewie Excel Worksheet Functions 5 December 21st 04 05:05 AM


All times are GMT +1. The time now is 09:57 AM.

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"