![]() |
How do I add a duration time value and a clock time value?
I have a column containing cells formatted with the "1:30 PM" option (clock
time), and a column containing cells formatted with the "37:30:55" option (duration time). I know I can jump through several hoops to extract and add the various segments to get a new clock time, but I can't believe it's that difficult. This MUST be a relatively common need, and surely I'm making it more convoluted than it is, but I can't find the elegant way. |
How do I add a duration time value and a clock time value?
Hi, If A1 = "1:30 PM" and B1 = "37:30:55" then sum both in C1 Change the format of C1 in custom to [h]:mm:ss VBA Noob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=561817 |
How do I add a duration time value and a clock time value?
Thanks! I guess I was missing that last bit about the formatting!
"VBA Noob" wrote: Hi, If A1 = "1:30 PM" and B1 = "37:30:55" then sum both in C1 Change the format of C1 in custom to [h]:mm:ss VBA Noob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=561817 |
How do I add a duration time value and a clock time value?
No problem -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=561817 |
All times are GMT +1. The time now is 07:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com