Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2018, 03:59 PM
jeffreybrown jeffreybrown is offline Convert word file into more readable format to paste into Excel Windows Vista Convert word file into more readable format to paste into Excel Office 2007
Expert
Convert word file into more readable format to paste into Excel
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default Convert word file into more readable format to paste into Excel

I have a pdf which needs to be converted into Excel eventually, but in its current format, when I pasted to Excel it was all over the place. No real pattern which I could easily write a macro to align info into the right cells.



Anyway, also converted it to Word, but the format is not all that great there either.

Looking for any suggestions. I can't attach the pdf nor the full converted Word document because of the size limit, so I cut the Word down a little bit. It was 1.43mb and 152 pages.
Attached Files
File Type: docx TEST2.docx (194.1 KB, 11 views)
Reply With Quote
  #2  
Old 02-21-2018, 05:29 PM
macropod's Avatar
macropod macropod is offline Convert word file into more readable format to paste into Excel Windows 7 64bit Convert word file into more readable format to paste into Excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Without knowing how the data appeared in the PDF and, more importantly, how they should appear in Excel, it's impossible to craft a solution. You should be able to print a few representative pages of the existing PDF to another PDF so you can attach it here.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-21-2018, 05:30 PM
Charles Kenyon Charles Kenyon is offline Convert word file into more readable format to paste into Excel Windows 10 Convert word file into more readable format to paste into Excel Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

A key thing to keep in mind is that formatting in converted documents ranges from sketchy to awful. Your Word document has next-page section breaks at the bottom of every page. This breaks up the table into multiple tables.

Unless this is something that has to be done on a regular basis, you may be time and money ahead simply paying someone to key it into Excel.
Reply With Quote
  #4  
Old 02-21-2018, 06:09 PM
jeffreybrown jeffreybrown is offline Convert word file into more readable format to paste into Excel Windows Vista Convert word file into more readable format to paste into Excel Office 2007
Expert
Convert word file into more readable format to paste into Excel
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

How about this and as far as the format in Excel, it should be no different than how it shows in the pdf. It appears though, pages 1-6 are missing the header, but from 7 down the file is pretty consistent.
Attached Files
File Type: pdf deleted_TEST2.pdf (204.9 KB, 15 views)
Reply With Quote
  #5  
Old 02-21-2018, 06:13 PM
macropod's Avatar
macropod macropod is offline Convert word file into more readable format to paste into Excel Windows 7 64bit Convert word file into more readable format to paste into Excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There appear to be numerous headings in the data (e.g. FC, FC Title, CG, CG Title, BC, BC Title, etc.), plus heading rows on various tables, for example:
FAC, FAC Title, RPA Type, UMA
Mil Dep, CAT CODE, UMA, UMO, UM 3, UM 4, CATCODE, LONG NAME
What's supposed to happened with those?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 02-21-2018, 06:32 PM
jeffreybrown jeffreybrown is offline Convert word file into more readable format to paste into Excel Windows Vista Convert word file into more readable format to paste into Excel Office 2007
Expert
Convert word file into more readable format to paste into Excel
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Thanks Paul. This is for somebody at work, so let me consult with them and get back to you. I'll attach an Excel sample file.
Reply With Quote
  #7  
Old 02-23-2018, 04:16 PM
jeffreybrown jeffreybrown is offline Convert word file into more readable format to paste into Excel Windows Vista Convert word file into more readable format to paste into Excel Office 2007
Expert
Convert word file into more readable format to paste into Excel
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hi Paul,

I messed around with this again today, but still can't seem to find a proper solution.

Here is an example Excel file with the preferred output.

Basically, I'm just interested in the yellow highlighted rows with the data in-between the yellow rows which is 7 columns worth of data.

I don't need anything in red, green, or even the gray headers.

As for the headings in the data, not interested in any headers. In the yellow rows, I'm even only concerned with the first two data elements nor am I concerned with alignment within the cells.

All that format type stuff is secondary. The main task is just to get the data positioned in columns and rows.
Attached Files
File Type: xlsx Data.xlsx (8.6 KB, 10 views)
Reply With Quote
  #8  
Old 02-26-2018, 08:17 PM
macropod's Avatar
macropod macropod is offline Convert word file into more readable format to paste into Excel Windows 7 64bit Convert word file into more readable format to paste into Excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

What are your chances of accessing the original data the PDF was created from? With the document conversion you're now getting, wrapped text gets split into separate cells for the wrapped lines and, in some cases, there's a plethora of pointless columns to deal with - and even the column counts differ from row to row.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 02-27-2018, 05:34 AM
jeffreybrown jeffreybrown is offline Convert word file into more readable format to paste into Excel Windows Vista Convert word file into more readable format to paste into Excel Office 2007
Expert
Convert word file into more readable format to paste into Excel
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Yes, we are trying to get a hold of the source data versus this pdf. Thanks again for your time.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert word file into more readable format to paste into Excel How to convert a text file to an Excel file with the data format automatically? mradmin Excel 6 10-16-2013 10:34 AM
Convert word file into more readable format to paste into Excel Paste data in "Accounting"format from Excel into Word changes formatting cory_0101 Word 4 10-17-2012 12:30 PM
Convert word file into more readable format to paste into Excel Recovering a word file (Select the encoding that makes your document readable) Canni Word 2 08-29-2012 02:46 PM
Convert word file into more readable format to paste into Excel Excel convert format [h]:mm:ss to decimal gchan2000 Excel 1 08-17-2010 01:36 PM
Convert a file from HTML to WORD format weblayout view gtselvam Word 0 12-02-2008 03:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft