How do I remove partial text with a cell?

Ken Donaghy 40 Reputation points
2025-11-11T00:33:11.67+00:00

I have downloaded my contacts from my CRM where contact names are condensed in each cell with a date acquired, first name and last name, i.e. "150505 Bobby Jones". 1) Is there a way to remove the date from the names? OR 2) Is there a way to divide the one cell into three, i.e. date, first, and last?

Microsoft 365 and Office | Excel | For business | MacOS
0 comments No comments
{count} votes

Answer accepted by question author
  1. EmilyS_726 12,955 Reputation points Volunteer Moderator
    2025-11-11T01:04:12.2033333+00:00

    Hello,

    A few ways to go about this -

    Option 1, you can use Text to Column feature found at the Data tab. Choose Delimited and then click next, then check space, and finish.

    This will then turn the data into three columns:

    150505 | Bobby | Jones

    You can then use =concatenate( ) function to merge Bobby and Jones

    Option 2, you can use this function to just get rid of the dates directly (assuming the data lives in A2)

    =TRIM(MID(A2,FIND(" ",A2)+1,LEN(A2)))

    1 person found this answer helpful.
    0 comments No comments

Answer accepted by question author
  1. Q&A Assist
    2025-11-11T00:33:21.07+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To remove the date from the names or to split the cell into three separate columns (date, first name, and last name), you can use Power Query in Excel. Here’s how you can achieve both tasks:

    1. Removing the Date: You can use the Text.Middle function to extract the first name and last name while ignoring the date. For example, if your data is in a column named ContactInfo, you can add a new column that extracts the text starting from the 7th character:
         Table.AddColumn(Source, "Name", each Text.Middle([ContactInfo], 7), type text)
      
      This will give you just the names without the date.
    2. Splitting the Cell: To split the cell into three parts, you can use the Split Column feature in Power Query. Here’s how:
      • Select the column containing the contact information.
      • Use the Split Column option and choose to split by delimiter (space) or by number of characters. If you know the format is consistent, you can split by the first 6 characters for the date and then split the remaining text by space to separate the first and last names.
      • After splitting, you can rename the new columns accordingly.

    For more detailed steps on splitting columns in Power Query, you can refer to the following examples:

    Using these methods, you can effectively manage and format your contact data as needed.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ken Donaghy 40 Reputation points
    2025-11-11T01:43:39.1766667+00:00

    Thank you. The Split Columns solution worked wonderfully.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.