Find and replace for a number range in a long sentence.

yoslater

New Member
Joined
Jun 15, 2023
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Question.

Here is my cell information. I know it is long and boring. I have about 600 products to edit and they all have different prices. I want to perform a Find and Replace. "Find 'Part Base= range of numbers and replace with Part Base=Price Match Guarantee. I know to perform this for a specific dollar amount ($18,192 in this example-Part Base=18,192) but not sure about a range from $0-$35,000. I hope this makes sense and my excel skills are low....

"Part Base=18,192";"Core Deposit= Refundable Core Deposit";"Applications=Bus, Ford Truck, Freightliner, PACCAR";Configuration=Drop-In;"On/Off Highway=On Highway";Displacement=7.2;Horsepower=200-300;Model=3126;"Model Years=1994-97";"Product Downloads=<a href=""/content/pdf/Product_Bulletin_CAT_3126.pdf"" target=""_blank"">Caterpillar 6 Cylinder 3126 and C7</a>"
 

Attachments

  • 1686838389517.png
    1686838389517.png
    2.9 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
I'm not too sure this is what you would like. This will replace the first Part Base=..... up to the next " with the requested text. And lower is it all wrapped up in an incomprehensible formula.

Cell Formulas
RangeFormula
K3K3=LET(t,K1,a,SEARCH("Part Base=",t),b,SEARCH(CHAR(34),t,a+1),c,REPLACE(t,a,b-a,"Part Base=Price Match Guarantee"),c)
K5K5=REPLACE(K1,SEARCH("Part Base=",K1),SEARCH(CHAR(34),K1,SEARCH("Part Base=",K1)+1)-SEARCH("Part Base=",K1),"Part Base=Price Match Guarantee")
 
Upvote 0
I will try that, so is that a formula you applied to the row? or something else? apologize in advance for novice question.
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,724
Members
449,465
Latest member
TAKLAM

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