Displaying A Duration in Time on a graph with general number formatted axis

andyb123

New Member
Joined
Oct 31, 2018
Messages
8
Hi,

I'm looking for some help please.

I need to find a way of including a value that is being displayed as a duration (e.g. 12:32 as mm:ss) but is inserted into excel using the decimal number system (as it allows me to add different times together).

Generally these values that I am working with all lie between 3mins and 35mins (03:00 and 35:00).

I already have a graph where one axis uses this scale, so it would be a huge help if I could use this graph to also display my duration information.

Is there any way to do this? Currently the data is on the graph but is down the bottom as the actual decimal value that excel reads is something like 0.001232.



Thank you for your help.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
For info you can input times in as normal times (in example below 4:6:7 and 0:25) and add them together with custom format as illustrated below

Excel 2016 (Windows) 32 bit
A
B
C
D
E
F
86
FORMATDuration1Duration2SUMFORMULA
87
[h]:mm:ss
4:06:07​
0:25:00​
4:31:07​
=SUM(B87:C87)hours minutes and seconds
88
89
[m]:ss
246:07​
25:00​
271:07​
=SUM(B89:C89)minutes and seconds
Sheet: Sheet 5

For graphing
- convert the values (in another range) and graph those values

To convert durations into hours
- multiply by 24
- format the cell as a number

To convert durations into minutes
- multiply by 24 X 60
- format the cell as a number

To convert durations into seconds
- multiply by 24 X 60 X 60
- format the cell as a number
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top