I'm sure this has been asked, but the search function is failing me right now (not bringing up any results).
I have a string of data that I copied from a pdf file into excel. All the data falls into 1 cell and I need to break up the data into multiple cells (multiple fomulas/VBA across multiple cells) to ensure that the correct data ends up in the correct cell/column.
Sample String
Last, First Middle (2731715) 111-222-3333 [email protected]
Last, First [no-middle] (3053815) 111-222-4444 [email protected]
All this data is in cell A1.
The following cells are what pieces of information need to be populated into them.
B1 - Last Name (no comma)
C1 - First Name
D1 - Middle Name
E1 - String of Number with out the parenthesis
F1 - Phone Number
G1 - Email address
I know for cell B1, I can use the formula =LEFT(A1,FIND(",",A1,1)-1) and it'll pull all the text prior to the comma.
For cell C1, what makes sense in my [crazy] head would be to Find all text after what's in cell B1 up until the next "space" character.
For cell D1, find all text after what's in cell C1 up until the next space character.
For cell E1, find all text after what's in cell D1 and eliminating the parenthesis and only displaying the numbers
For cell F1 - etc
Cell G1 - etc
I'm really good at copying and pasting VBA/Macros along with formula's into Excel. I can typically understand formulas but right now I'm having a rough time comprehending what needs to be done.
Any help? Thanks folks!
Bookmarks