Monthly I run a report that adds up all the minutes of long distance our client uses on our phone lines. The data is exported to excel and the cells in the "duration" column start off in the General format. To use the sum function to add the total number of minutes and seconds I need the column to be in Custom format, "[h]:mm:ss". When I update the cells in the duration field from General to the Custom format nothing changes. Normally, if say, "0:33:00" was a cell that I've formatted with [h]:mm:ss the formula bar would display "12:30 AM" This shows the cell is reading the data as a time.
But nothing I do to the "duration" column changes the formatting of the data. I have tried:
The only thing I did that correctly formatted the data was to retype the it in a new cell. Unfortunately that will not work because there are over 2000 cells in the "duration" column.
- Adding VBA to make sure formatting stays when you cut and paste. Then I cut the data from the "duration" column and pasted it in a column that was already formatted.
- Linking the data from the "duration" column to cells that are already formatted.
Please help, I have been at this all day!!!