I'm trying to enter a duration in years, days, hours, minutes and seconds then apply a percentage and display the results as NN years NN days NN hours NN minutes NN seconds.
I've applied the custom time format yy "years" d "days" h "hours" m "minutes" s "seconds" For now I'm not applying the percentage, just trying to get the results to display properly.
There are several problems I'm getting.
When I type 01:02:03 into my input cell it displays as 01:02:03 justified right, like a numeric value. The results cell displays as 00 years 00 days 1 hours 2 minutes 3 seconds.
When I type 01:02:03:04:05 into my input cell it displays as 01:02:03:04:05 justified left, like text and the results cell displays 01:02:03:04:05, also justified left.
Whatever I've tried I can't get it to display with full text if I enter more than nn:nn:nn.
When i use 'y' in the custom format it still returns 2 digits i.e. 00 or 01 etc and not a single digit.
Sometimes for no reason I can work out, it was displaying the input cell as '1900/1/1 01:02:03 ' but as I write this I can't get it to do that again.
I assume this is all down to the way I am entering my time duration?
What am I doing wrong?
I've applied the custom time format yy "years" d "days" h "hours" m "minutes" s "seconds" For now I'm not applying the percentage, just trying to get the results to display properly.
There are several problems I'm getting.
When I type 01:02:03 into my input cell it displays as 01:02:03 justified right, like a numeric value. The results cell displays as 00 years 00 days 1 hours 2 minutes 3 seconds.
When I type 01:02:03:04:05 into my input cell it displays as 01:02:03:04:05 justified left, like text and the results cell displays 01:02:03:04:05, also justified left.
Whatever I've tried I can't get it to display with full text if I enter more than nn:nn:nn.
When i use 'y' in the custom format it still returns 2 digits i.e. 00 or 01 etc and not a single digit.
Sometimes for no reason I can work out, it was displaying the input cell as '1900/1/1 01:02:03 ' but as I write this I can't get it to do that again.
I assume this is all down to the way I am entering my time duration?
What am I doing wrong?