Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I round time down to the nearest half hour? | Excel Worksheet Functions | |||
How do I round time to the nearest quarter of an hour | New Users to Excel | |||
Need to round the time to the nearest quarter hour. Help | Excel Discussion (Misc queries) | |||
Rounding time to nearest Hour | Excel Worksheet Functions | |||
How can I round an hour to the nearest 1/4 hour? | Excel Worksheet Functions |