Extract data from one cell to multiple cells.

hungledink

Board Regular
Joined
Feb 20, 2012
Messages
88
Office Version
  1. 365
I have an email that contains data filled in from a form on the internet. This form contains 6 piecesof information, such as name, address etc.
I have a spreadsheet that imports data from this email, and it shows all the data from the email body in one cell.
Each piece of information is in the following format


Name:
Sid Wattle


Address:
Some house
Some city
Postcode


I'd like to get each of these different data sets in their own cell. So the original data is in cell A1, then the name would be in cell B2, address in C1


Can you advise the best most effecient way to do this? There's going to be approx 100 emails each with 7 fields of data.

Thanks
 
Thanks for the posts everyone but someone has posted a solution on the ozgrid message board that does what I needed ?
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Thanks for letting us know, but would you mind posting the solution here?
 
Upvote 0
He came up with this formula posted in column B, with original data in column A

MID(LEFT($A2,IF(C$1="",250,FIND(C$1,$A2)-1)),FIND(B$1,$A2)+LEN(B$1)+1,250)

Does the trick.
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top