Plot Date and Time on the X-axis

jjhopkotcha

New Member
Joined
Feb 2, 2014
Messages
1
Hi there,

I have a load of data that I have pulled off an online data source and it has put the time at data in one cell in the format "22.05.2012 17:18:47". The date and time is to be plotted on the x-axis against tunneling distance achieved on the y-axis. Currently when I attempt to plot the two columns on a scatter chart it simply plots the x-axis as a linear scale (starting at 1, moving up 1 for each data point). I have tried separating out the date and time using the text-to-columns feature which does separate out the date and the time, but this doesn't seem to help me either as I want to be able to plot tunneling distance against date and time, rather than just one of them.

Any help on this matter would be hugely appreciated.

Many Thanks,

John
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]time[/TD]
[TD]distance[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]4.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]7.3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]10.9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]14.1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]when i plot this as a scatter chart it plots ok yes the x axis is labelled 0-5-10-15-20-25 but the points are plotted in the correct positions[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,464
Members
453,725
Latest member
cvsdatreas

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