I have a spreadsheet where I export time data from another program. The new cells are automatically formated by excel into the h:mm format. After the data is pasted, I have a formula set up in another cell to convert it to seconds.
The problem I am encountering is that if a value is under 1:00 excel will convert the cell to the general format, so my conversion formula will display a #VALUE error. I can maunually had a 0 before the colon and excel will convert it to seconds without any issues.
Is there any way to automatically add a leading zero to cells that contain a colon?