How to remove variably placed text within a string of text by looking at the columns to the right

jchunowitz

New Member
Joined
Oct 12, 2024
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Novice here. In a worksheet with 3,000 rows, one column includes cells that have a string of text that has many spaces, but includes PART COLOR, PART NAME, PART NUMBER, etc. The different inputs vary in number of spaces as well. I need to remove the part numbers which all appear in this format: "## ## ####." Unfortunately, the numbers are all different, but they are located on their own in a separate column next to the first column. Is there a formula that will direct Excel to remove the part numbers if they are found in the string of text? Please see my example below. The column on the right is how it should look once the part number is removed. Please let me know if you have a solution. Thanks!!!
 

Attachments

  • Screenshot 2024-10-12 at 10.17.51 PM.png
    Screenshot 2024-10-12 at 10.17.51 PM.png
    43.6 KB · Views: 7

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,881
Messages
6,175,159
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top