Time format which is -->12:00:00 and we need to convert it into a number format that is -->12
A quick multipication of same by 24 will convert it to the number format...
so lets say A1-->12:00:00 then in B1-->A1*24 will gives a desired result...Note:- we need to format b1 to Number, By right click over the b1 and format cell.
Similary to find minutes in number format we can do -->A1*24*60 or -->A1*1440 which will give the answer in minutes which is for 12:00:00 is 720 minutes.
In addition to do a vice-versa we can go ahead and divide the same by 24 as in converting number back to time.
by: suvmitra on 2009-06-18 at 11:29:58ID: 1694
This is an excellent article. However, I have a feeling, people do not want to dedicate extra columns therefore they will try to have the instant result / conversion in a single column.
So, what if we put the conversion formula into VBA..and have the instant result into Column A.
I don't know how far my this comment is related and relevant to your article..but I feel you should also include the VBA part with your article to make this complete.
Thank you for your excellent article :)