If this Excel problem is a Bollywood (Indian movie) plot, it would go like this:
Situation: Your boss gave you a worksheet. It has a lot of number chunks. And you need to calculate the sum of each chunk. Quickly!
Twist #1: The villain (your boss, who else) has abducted your spouse. For every extra hour you spend on the problem, your boss will make your spouse go thru one of the boring 97 slide strategy presentations. And his laptop is full of those strategy presentations.
Twist #2: The F1 key on your keyboard is missing.
Twist #3: The coffee machine in your floor is broken again.
Twist #4: And just when you are pressing CTRL+S, the movie steers in to an item song.
—-
Fortunately, no one abducted your spouse. And hopefully the coffee machine is working. But the Excel problem remains unsolved.

Sporadic totals
This problem is based on a call I received last week from one of our readers in UK. He had a worksheet full of numbers with blank rows between every few numbers. And he wants to calculate the totals of individual chunks of numbers quickly. He cannot write one formula and paste it everywhere as the chunks are not uniformly sized. He cannot write individual formulas as the data is very large.
So what to do?
If we are still in a Bollywood film, you can write all the 10,000 formulas and simultaneously sipping screwdrivers & shimmying to a snazzy song with sexy starlets.
Alas, this is not a movie.
But we still manage to look awesome. Thanks to superb sidekicks – Goto Special & Autosum.
Calculating Sporadic Totals in a second
See this short video to understand how to calculate sporadic totals in a few seconds. With the time saved, you could fix yourself a cocktail (or coffee) and hum a beautiful song.
Watch the video on our YouTube Channel or Facebook Page.
Sporadic Totals – Alternative treatment
It is an awesome co-incidence that both MrExcel (Bill Jelen) and Kevin Lehrbass also published videos about this concept around the same time. MrExcel shows how to use VBA to do this, where as Kevin talks about using formulas. Check out both videos too.
Not enough sporadic data? Try this practice file
If you want to practice this technique, use this Excel file.
Leave the drama to movies, Learn Excel
We all love film drama like blowing up cars, high-speed chases, super-human stunts and spicy songs. But you sure don’t want that in your life. So learn Excel. Save time, use that to enjoy the drama elsewhere.
Click here to join our newsletter. Get awesome one step at a time.













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.