ss said:
[....]
Apologies regarding my terminology.
The result does not show the % symbol but shows this format
for dd/hh 51.30 which I assume is a % of the day (.30).
I wonder if you mean that when you format =E9=NOW() as either General or
Number, it displays 51.30.
In that case, the decimal fraction (0.30) is a indeed a __fraction__ of a
day, which we could interpret as (about) 30% of a day.
To explain further.... Excel time is stored as a decimal fraction of a day,
namely h/24 + m/1440 + s.sss/86400.
(Excel formats seconds to only 3 decimal places, but the actual value might
have even greater precision.)
So, 0.30 represents about 24*.30 = 7.2 hours. Perhaps even more, since 0.30
is rounded for appearance purposes. For example, 7.25 hours might be
displayed as 0.30, but it is actually about 0.302083333333333.
Returning to my previous point about the "d" format specifier.... The
Custom format d:hh would display 51.30 as 20:07 because 51 represents Feb
20, 1900. Presumably, that is not what you would want to see.
INT(51.30) extracts the integer part, namely 51. HOUR(51.30) uses the
fractional part (0.30) to determine hours of the day (7). There are other
ways to extract and represent hours of the day.
An alternative to my previous wordy representation of days and hours might
be: =INT(E9-NOW()) & TEXT(E9-NOW(),":hh"). That would result in "51:07"
for your example.
However, that might be confusing because most people would read that as 51
hours 7 minutes.