D
Donna Grant
I have asked this question before but the solution given by an MVP
didn't work and after telling them so no response was given so I'll
try again.....
I have a spreadsheet with all cells in general format and for example
the data follows along the lines of 3 days, 22 hours, 48 minutes. I
would like to change the format so that it goes to 94:48. Is there any
way of running something to make it change to this? I am using Excel
2003 but I'm sure it would be simular in most versions.
The solution I was given was:
=LEFT(A1,FIND("
",A1)-1)+MID(A1,FIND("h",A1)-3,2)/24+MID(A1,FIND("m",A1)-3,2)/(24*60)
Format [hh]:mm
3 days, 22 hours, 48 minutes
Returns: 94:48
3 days, 2 hours, 7 minutes
Returns: 74:07
1 day, 1 hour, 1 minute
Returns: 25:01
but it just displays #Value!
Thanks!
didn't work and after telling them so no response was given so I'll
try again.....
I have a spreadsheet with all cells in general format and for example
the data follows along the lines of 3 days, 22 hours, 48 minutes. I
would like to change the format so that it goes to 94:48. Is there any
way of running something to make it change to this? I am using Excel
2003 but I'm sure it would be simular in most versions.
The solution I was given was:
=LEFT(A1,FIND("
",A1)-1)+MID(A1,FIND("h",A1)-3,2)/24+MID(A1,FIND("m",A1)-3,2)/(24*60)
Format [hh]:mm
3 days, 22 hours, 48 minutes
Returns: 94:48
3 days, 2 hours, 7 minutes
Returns: 74:07
1 day, 1 hour, 1 minute
Returns: 25:01
but it just displays #Value!
Thanks!