Taking data from a cell

Jewelfine

New Member
Joined
Nov 7, 2002
Messages
35
Hi there
I have a cell that has a full address in it and I would like to separate it out into Name, Address1, Address2, City, Province, Postal COde and Contact name.
Does anyone have a quick way to do this?
THanx
Melanie
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,118
If the various fields are delimited by commas within the string (or via another delimiter) you can use Text to Columns -- highlight the column in question and do Text to Columns, choose Delimited with Comma as Separator (or other as appropriate)

Note: save file prior to actioning just in case you get unanticipated results.

If this is not the case (no delimiter) you will need to provide some sample data to see if a solution is possible.
 

Jewelfine

New Member
Joined
Nov 7, 2002
Messages
35
This is the data in one cell

Peel Condominium Corporation No. 789 c/o Test Property Management 1850 Steeles Road, Suite 12 Toronto, ON M1T 5T2 Attn: Danny Gans

then another cell could be this

Claims Back International Ltd. 1180 Jacks Street East Milton, ON L5P 1L3 Attn: Tim Cornerer

I tried the text to column function (thanx by the way) but because they are all different it is hard to figure out - I can separate each word and I tried to CONCECATE them but there are over 8000 entries and I don't want to have to go through each one.

Thanx
Melanie
 

Forum statistics

Threads
1,081,556
Messages
5,359,549
Members
400,533
Latest member
fpenning

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top