简体   繁体   中英

split text to columns in excel

I've this table in Excel Online (onedrive site) :

 PEOPLE     FIRSTNAME   LASTNAME    AGE   ID
DETAILS     
DETAILS 
DETAILS

I would like to copy there lines of text and that it all will be filled into the appropriate rows.

for example,
Mariah Carey 30 5555
Marc Terenzi 31 7777

will fill the table by:

 PEOPLE     FIRSTNAME   LASTNAME    AGE   ID
DETAILS     Mariah      Carey       30    5555
DETAILS     Marc        Terenzi     31    7777

Assuming that each full name contains only two names so " " (a space) can be an indicator for the new word.

How can I do it?

  1. Paste the values in the column FIRSTNAME (Yes, data will be in one cell)
  2. Select the cells with the values.
  3. Go to your Data tab.
  4. Click on Text To Columns.
  5. Choose Delimited option.
  6. Select Space as separator.
  7. Click Finish

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM