wrecclesham
Board Regular
- Joined
- Jul 24, 2019
- Messages
- 52
- Office Version
- 365
- Platform
- Windows
I'm trying to calculate the date/time difference between two cells, to be displayed in days, hours and minutes.
Right now, if I simply use
<code><code>=A1-B1</code></code>
The cell displaying the difference has the following custom formatting:
<code><code>d "days" h "hours" m "minutes"</code></code>
The problem I'm having is that, as soon as the difference exceeds 32 days, the difference is displayed as 1 day and starts counting back up again from there.
How can I get a displayed date difference to show a result in days that is able to exceed 31 days?
I don't want to display the extra difference in months or years. The number of days should simply be able to continue to increase beyond 32 days.
Any ideas?
Right now, if I simply use
<code><code>=A1-B1</code></code>
The cell displaying the difference has the following custom formatting:
<code><code>d "days" h "hours" m "minutes"</code></code>
The problem I'm having is that, as soon as the difference exceeds 32 days, the difference is displayed as 1 day and starts counting back up again from there.
How can I get a displayed date difference to show a result in days that is able to exceed 31 days?
I don't want to display the extra difference in months or years. The number of days should simply be able to continue to increase beyond 32 days.
Any ideas?
Last edited: