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: 6

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,222,728
Messages
6,167,873
Members
452,151
Latest member
DolonG

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