Solved

How do i transfer this to excel

Posted on 2011-02-28
10
155 Views
Last Modified: 2012-05-11
I realize this data is not perfectly consistent, but is there any way i can transfer to excel? even i have to clean it up? dummy data attached. the first row can be removed, i know it's funky. dummy-data.doc

User DLMille had helped with something similar before. Post ID: 26681759.  Just wondering if something like that would work for this, but i can't remember how to do it.
0
Comment
Question by:fstinc
10 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 500 total points
Comment Utility
Since the data is in a table for can just copy and paste the data. I tried this with the dummy data and it worked but it will required quite a bit of cleaning up

Michael
0
 
LVL 22

Expert Comment

by:rspahitz
Comment Utility
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
@fstinc - I've been pretty busy today, but did a quick review and the result is this.

Opens the word document, saves it as a TXT file (given there are table cells that have multiple addresses, importing table elements didn't prove to be a simple exercise).  Then, it imports the TXT file into Excel.  It appears to be one column, so that's all I dealt with.

Sheet1 has the import data, Sheet2 will have the output data

Then, it processes each address into a columnar table data dump - given the addresses are not that predictable (and I'm a bit pressed for time), I decided to continue to dump into the next column until a blank line informed me (hopefully correctly) that the address has changed.

Note, with this implementation, there'll be a need for some manual cleanup.

See attached file with outputs from your dummy-data.doc in Sheet2.  On quick examination, it appeared there could be 68 formatting errors out of > 6000, so perhaps this gets you to the next step.

Cheers,

Dave
WordtoExcel-r3.xlsm
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
@fstinc - one more thing and I've got to run - didn't have a chance to make changes to avoid this, but to run the macro, you'll first have to go to VBA Project Editory (Developer's ribbon, View Code, or Tools, Macros).  Go to Tools->References and add the Microsoft Word Object Library to your list of references (the large list will be in alphabetical order).

If this is headed in the direction you want to go, let me know and feel free to ask questions/provide info on format for fine tuning.

Dave
0
 

Author Closing Comment

by:fstinc
Comment Utility
unfortunately copying and pasting was the only way.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 41

Expert Comment

by:dlmille
Comment Utility
@fstinc - my spreadsheet solution didn't work for you?  No feedback/problems that I could resolve????

Dave
0
 

Author Comment

by:fstinc
Comment Utility
it didn't work Dave. data was really too messy.  it took me HOURS to do it manually which is what initially i was trying to avoid.

Thank you so much for your efforts - greatly appreciate your help.  next time i won't wait till the last minute.
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
Ok - no problem.  I was just intrigued at how you awarded the points.

Cheers,

Dave
0
 

Author Comment

by:fstinc
Comment Utility
sorry, I apologize. To be honest i don't really know how to use EE effectively. I should really think about how I manage it. Again, my apologies and I will review all the "rules" but mainly use common sense ;o)

thanks again.
0
 
LVL 41

Expert Comment

by:dlmille
Comment Utility
no rule issues, I just thought what I provided would have earned something.   At least there's a macro that you can use to import the data rather than manual copy/paste, etc....

No worries,

Dave
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now