Extract data from a cell

S

sjs

I have a cell that contains two pieces of data separated by a comma (ex:
first name, address). I'd like to extract the data into two cells so that
the first name is in one cell and address is in a second cell.

Any help would be greatly appreciated!

tks,
steve
 
E

Eduardo

Hi,
Highlight the column, data, text to columns, delimiter, choose comma, Ok

if this helps please click yes thanks
 
S

sjs

Perfect!! Thanks Eduardo and Glenn!!

Eduardo said:
Hi,
Highlight the column, data, text to columns, delimiter, choose comma, Ok

if this helps please click yes thanks
 
A

Ashish Mathur

Hi,

You may also use this

=LEFT(C18,SEARCH(",",C18)-1) for the names; and
=RIGHT(C18,LEN(C18)-SEARCH(",",C18)-1) for the address

The assumption herein is that the names and address are separated by commas
and that there is only one comma in the string

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top