Charts and Graphs - Text to Dates: Podcast #1284

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Nov 9, 2010.
In Episode #1284, Bill looks at Charting Dated Data and how to get a more realistic distance between dates. Included in Podcast Episode #1284: Using =DATEVALUE(). "Charts And Graphs: Microsoft Excel 2010", by Bill Jelen
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Excel Charts, Chapter 3, Date Value.
Oh! Hey, welcome back to the MrExcel netcast.
I'm Bill Jelen.
Today, I build a chart from this data it has four points in time the first two January the first in February and then a whole lot of time goes by 15th of July and 29th of July trying to show how these readings changed over time, but what frustrates me is the axis down here is showing each of these points as equidistant and that's clearly not true.
So, I tried right clicking and choosing Format Axis and changed it to a Date axis, but that didn't fix anything.
So, then I said, all right, well you know, what's going on here why isn't this working and I went and looked at the dates, I see that the dates are stored as text.
Now, if you can't tell, you can always hold down Control and press the backwards accent, that the Grave accent from French and if the dates don't change to a number when you do that then you know, that you haven't text date.
So, I want to try and convert those to real dates.
I'm going to use equal DATEVALUE, DATEVALUE of that text that looks like a date, we should see as we get a number.
All right, that's perfect that's the number, I copy that number down.
All right and then format that, so when you're going to Format Cells, Control+1 choose a nice Date format, I can go back to the one that looks just like what I had before and we will copy that and then paste as values.
Paste, Paste Values, actually I want Values & Number Format.
All right and baam, obviously now, I have real dates you can tell because I can press Control and the backwards accent get to see the number, press it again and you can see that, now this chart is showing that the distance from January 1st to February 1st is pretty narrow as opposed to February 1st to out here to somewhere in July.
All right! So, we're actually getting a true date picture showing the gap between the dates.
Again to get here right click, Format Axis, you want to make sure to choose the Date Axis or even Automatically and it work, but it requires the dates to be true dates and not text dates.
See you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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