Breaking the data of column A into two columns First Name & Last name.

A

Akash

Hi,

I have a database of 5000 Names in Column A. e.g. A1:A5000, e.g.

Murali Baggam
Akash Maheshwari
Diya Kathuriya
Rajiv Kumar Taparia
Sunita Kumari Iyar Rani


I want to break the data of column A into two columns First Name &
Last name with the help of a macro.

Awaiting for the help from ur side.

Thanks

Akash
 
A

Akash

Sorry I am not able to find the Split function in excel 2003.

More over i want a new column for every word after a space

Suppose in Cell A1 i have a name like:Sunita Kumari Iyar Rani

So I want Sunita in cell B1
So I want Kumari in cell C1
So I want Iyar in cell D1
So I want Rani in cell E1

This is the main Requirement. And I wanted to do the same with the
help of macros.

how this can be done.

Thanks

Akash
 
D

Dave Peterson

Insert a few columns to the right of column A (to hold those parsed values).

Then select your range
data|text to columns
delimited (by space)
and finish up

If you really need a macro, you can record one when you do it manually.
 
A

Akash

Insert a few columns to the right of column A (to hold those parsed values).

Then select your range
data|text to columns
delimited (by space)
and finish up

If you really need a macro, you can record one when you do it manually.











--

Dave Peterson- Hide quoted text -

- Show quoted text -

thanks a tonn for helping me....
 
S

ShaneDevenshire

Hi,

NOPIK is playing with you! There is no such function is Excel, not even in
2007.

Thanks,
Shane Devenshire
 

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