A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Thanks for this. I can see you are using Office 2016 , and my Excel 2010 does not have the option to SELECT RANGE. Can you suggest an alternative for 2010?
Edited since initially posted. Changed formula for date conversion to text.
My apologies for posting the reply for the incorrect Excel Version. I did not realize they are so different and I should have tested in xl2010 before replying.
It is a bit of a drawn out process to fix in xl2010 but I will try to explain. Refer to the screen shot below.
- Set up a column with times in Text format using a formula as per the screen shot below. The formula to create the times in text format is as follows. =TEXT(A2,"mm:ss")
- Add the data labels to the chart. (If data labels already on the chart then select and delete them and add the labels again so we start clean).
- Click one of the data labels to select all the visible labels.
- Right click on one of the selected labels and select "Format data labels"
- Select "Number" in the left column of the dialog box.
- Ensure "Linked to source" is unchecked.
- Select "Text" from the number category. (All data labels should now display but with numeric values)
- Click on one of the already selected data labels and it should then be the only one selected.
- Click in Formula bar and type an equals sign. (Must be in the Formula bar; not in the label).
- Click on the cell with relevant text value for the label so it adds the cell address after the equals sign.
- Repeat from Step 8 for remaining labels.
I cannot help you with the negative values on the X axis. However, if you want to display the times on the X axis in 5 min increments as I have done then the following procedure.
Anywhere in a blank area of the worksheet enter actual times in 3 different cells ie. (00:05:00, 00:10:00, 00:30:00)
Select the 3 cells and format them as numbers with 10 or more decimal points. (You should have numbers like 0.00347222222222222, 0.00694444444444444, 0.0208333333333333
Select the X axis and right click and select Format the axis.
Select "Fixed" for the Minimum, Maximum and Major units and enter the appropriate numbers in the adjacent fields. (Don't forget to include a negative sign in the Minimum field). When copying the numbers it is best to copy from the Formula bar but you will need to click back on the worksheet and select the X axis again to paste the values.
The Number format for the X axis should be Linked to Source.