SOLVED

Convert a two line address to individual columns?

%3CLINGO-SUB%20id%3D%22lingo-sub-2159744%22%20slang%3D%22en-US%22%3EConvert%20a%20two%20line%20address%20to%20individual%20columns%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159744%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20spreadsheet%20that%20has%206%20columns%20for%20Company%2C%20Address%2C%20Phone%20Number%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20address%20column%20is%20actually%20taking%20two%20rows%20(i.e%20Street%20Address%20on%20top%20row%2C%20and%20City%2C%20State%2C%20Zip%20on%20bottom%20row).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20extract%2Fconvert%20those%20two%20rows%20into%20individual%20columns%20for%20Address%2C%20City%2C%20State%2C%20Zip%20and%20maintain%20the%20rest%20of%20the%20row%20(i.e.%20-%20company%2C%20Phone%2C%20etc.)%26nbsp%3B%20I%20have%20attached%20a%20sample%20of%20the%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20Excel%20on%20a%20Mac.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EEJ%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2159744%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159897%22%20slang%3D%22de-DE%22%3ESubject%3A%20Convert%20a%20two%20line%20address%20to%20individual%20columns%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159897%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248307%22%20target%3D%22_blank%22%3E%40ECJ53%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EI'm%20not%20a%20mac%20user%2C%20but%20with%20pivot%20it%20would%20be%20best.%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EHere%20is%20an%20example%20of%20where%20you%20can%20make%20changes%20yourself.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20Kindly%20Mark%20and%20Vote%20this%20reply%20if%20it%20helps%20please%2C%20as%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a spreadsheet that has 6 columns for Company, Address, Phone Number, etc.

 

The address column is actually taking two rows (i.e Street Address on top row, and City, State, Zip on bottom row).

 

Is it possible to extract/convert those two rows into individual columns for Address, City, State, Zip and maintain the rest of the row (i.e. - company, Phone, etc.)  I have attached a sample of the data.

 

I am using Excel on a Mac.

 

Thanks

EJ

 

4 Replies
Best Response confirmed by ECJ53 (Occasional Contributor)
Solution

@ECJ53 

I'm not a mac user, but with pivot it would be best. Here is an example of where you can make changes yourself.

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

@ECJ53 

 

Good data granularity rules would say to separate the lines to get the most of your data. If you do want you’re looking to do then you can’t filter on a state or zip code and really get value or show in a Pivot Table in the most effective way. 

There’s really now way to do what you’re doing. You’d effectively put it on another row meaning it’s no longer useful. It’s better to have to have them in their own column in that row:

 

Street Address City State Zip Code in their own columns in that same row. 


if you really need it like that you can type the street address then press ALT+Enter to return and then maybe a text wrap or resize the rows to show correctly:
123 Fake Street (press ALT+Enter)

Anytown, VA 20000

Jpalaci1

I know this, but this data was provided by someone else and unfortunately that is how the prepared it. So I need to use the data in a CRM so that is why I need to convert the "two lines" to one.

Thank you for your input.

EJ

@ECJ53  I'm not sure how that pivot table solves what you wanted but in the attached I added a column (address 2) that just points to the row 1 down in the address column.  Then with some slight format fixes of the pivot table I think you will now get what you want.  OR I inserted another sheet and using 2 formulas re-created that table without the mostly blank lines (1 formula to recreate the header line and 1 formula with a Filter() function).

Hope this helps.