delete data in cell after specific character

后端 未结 6 1966
無奈伤痛
無奈伤痛 2021-01-17 16:23

I have data in cells A1:A1000. It is a list of names followed by a small note, like this:

  • sam\" fast
  • nick\" long
  • tom\" quick
<
6条回答
  •  执念已碎
    2021-01-17 16:32

    Easy! I don't know what version of Excel you are using, but in short you want to do a Convert Text to Columns and then split the cells using a delimiter of ". This will leave you with two columns, one of the data you want and one you can just delete.

    Here is the walk through in Office 2010:

    1. Highlight column A
    2. find the Data menu
    3. find the Convert Text to Columns menu
    4. Pick Delimited and hit next
    5. In the Other box, type "
    6. hit Finish

    Done! Now you have all your names in column A and you can just delete column B.

    To sum up, do a "Convert Text to Columns" and then split the cells using a delimiter of ". Super easy and fast.

提交回复
热议问题