We make charts with date axis all the time. For example, lets say you want to plot the number of donuts consumed per month in a chart, like this:

2 things become quite obvious when you look at this chart,
- The year -09 and -10 repeating across bottom of axis is pure chart junk.
- Aww, dude. How many donuts do you eat!?!
Now, there is nothing much I can do about donut consumption. But I can tell you how to fix that axis so it looks a lot better, may be like this:

Interested? Follow this simple recipe:
- Process your data: Assuming your data looks like what I shown to left, just use simple formulas to make it look like the table to right. [related: how to work with dates & times in excel]

- Now, make a chart from the data. Use both year and month columns for axis label series.
- That is all. Excel shows nicely grouped axis labels on your chart.
Pretty simple, eh?
Download the Excel Chart Template
Click here to download excel chart template & workbook showing this technique. Play with the formulas & chart formatting to learn.
2 Bonus Tips:
1. This technique really works with just any types of data.
So you can just have Product Group & Product Name in 2 columns and when you make a chart, excel groups the labels in axis.
2. Further reduce clutter by unchecking Multi Level Category Labels option
You can make the chart even more crispier by removing lines separating month names. To do this select the axis, press CTRL + 1 (opens format dialog). From Axis options, un-check Multi Level Category Labels option.

How do you format date axis on charts?
Most of the times when I make charts with date axis, the axis has 12 or 13 months of data. So I knock off the year part completely. But in some cases, I end up making charts that show data from multiple years. Now, repeating year value across bottom is a waste of chart ink. So I tend to use the above technique to make the chart look much more professional.
What about you? How do you format date axis? Please share your ideas and experiences using comments.
More Charting Formatting Tips:
- How to change data labels in charts to whatever you want
- Making your chart legends look awesome
- Use paste special to Speed up chart formatting
- … More chart formatting tips













7 Responses to “Extract data from PDF to Excel – Step by Step Tutorial”
Dear Chandoo,
Thank you very much for this and it is very helpful.
However, all the Credit Card Statements are now password protected.
Please advise how can we have a workaround for that
Hello sir,
How to check two names are present in the same column ?
Thanks and Regards
Hi, Thank you for the great tip. One problem, when I click on get data >> from file, I don't see the PDF source option. How can I add it?
I tried to add it from Quick Access toolbar >>> Data Tab, but again the PDF option is not listed there.
I am using Office 365
Hi, Thank you for your video. I see you used the composite table, but I when I load my pdf, it does not load any composite table. It has 20 tables and 4 pages for one bank statement. I have about 30 bank statements that I want to combine. Your video would work except that I can't get the composite table and each of the tables I do get or the pages does not have all the info. what to do?
Dear Chandoo,
How do we select multiple amount of tables/pages in one PDF and repeat the same for rest of the PDF;s in the same folder and then extract that data only on power query.
Thank you
Hi, Thank you for your video. I see you used the composite table, but I when I load my pdf, it does not load any composite table. It has 20 tables and 4 pages for one bank statement. I have about 30 bank statements that I want to combine. nice share
One bank statement takes up 20 tables and four pages in this document. I need to consolidate roughly thirty different bank statements that I have. Your video would be useful if I could only get the composite table, which I can't for some reason, and each of the tables or pages that I can get is missing some information.