Find text in a cell, and place text before it

Gamermatt

Board Regular
Joined
May 14, 2009
Messages
186
Hello,

I need a formula to do the following...

In column A, I have a list of titles. In column B, I have a list of phrases. In column C, I have another list of phrases.

I need a formula to put into column D, that will find the phrase from col B in col A, and then place the phrase from col C right before it.

How would I go about doing this?

Thanks,

Matt
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Excel Workbook
ABC
1Infiniti G35 Sedan 3.5L V6 Short Ram Intake System 07 08Short Ram Intake SystemBlack
2Chevrolet Camaro SS 6.2L V8 4" Tuned Cold Air Intake w/MR Tech and Air Fusion 09 10Cold Air IntakePolished
Sheet1


Result:


Excel Workbook
D
1Infiniti G35 Sedan 3.5L V6 Black Short Ram Intake System 07 08
2Chevrolet Camaro SS 6.2L V8 4" Tuned Polished Cold Air Intake w/MR Tech and Air Fusion 09 10
Sheet1
 
Upvote 0
Does this work for you? Copy E1 down to bottom...
Excel Workbook
ABCDE
1Infiniti G35 Sedan 3.5L V6 Short Ram Intake System 07 08Short Ram Intake SystemBlackInfiniti G35 Sedan 3.5L V6 Black Short Ram Intake System 07 08
2Chevrolet Camaro SS 6.2L V8 4" Tuned Cold Air Intake w/MR Tech and Air Fusion 09 10Cold Air IntakePolishedChevrolet Camaro SS 6.2L V8 4" Tuned Polished Cold Air Intake w/MR Tech and Air Fusion 09 10
Sheet1
Excel 2007
Cell Formulas
RangeFormula
E1=REPLACE(A1,FIND(B1,A1),LEN(B1),C1 &" " &B1)
 
Upvote 0
Does this work for you? Copy E1 down to bottom...
Excel Workbook
ABCDE
1Infiniti G35 Sedan 3.5L V6 Short Ram Intake System 07 08Short Ram Intake SystemBlackInfiniti G35 Sedan 3.5L V6 Black Short Ram Intake System 07 08
2Chevrolet Camaro SS 6.2L V8 4" Tuned Cold Air Intake w/MR Tech and Air Fusion 09 10Cold Air IntakePolishedChevrolet Camaro SS 6.2L V8 4" Tuned Polished Cold Air Intake w/MR Tech and Air Fusion 09 10
Sheet1
Excel 2007
Cell Formulas
RangeFormula
E1=REPLACE(A1,FIND(B1,A1),LEN(B1),C1 &" " &B1)

that works, thank you very much!
 
Upvote 0

Forum statistics

Threads
1,224,593
Messages
6,179,791
Members
452,942
Latest member
VijayNewtoExcel

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