A complicated one... is this even possible?

RWABristol

New Member
Joined
Sep 25, 2019
Messages
2
Hey forum folks,

I have a problem. I need to replace:

HERE in B2 with the data in C2
HERE 2 in B3 with the data in C3
HERE 3 in B4 with the data in C4
HERE 4 in B5 with the data in C5
HERE 5 in B6 with the data in C6

And I need to do the same for every cell in column B. Is this possible? :confused:

For context, I work for an arts charity and I need to upload loads of artworks to our website. Column B is supposed to be the product description for each artwork. I have very little time, so I'm hoping someone can help me :) Thanks!

spreadsheet.jpg
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi and welcome to the forum.
HERE in B2 with the data in C2
HERE 2 in B3 with the data in C3
HERE 3 in B4 with the data in C4
HERE 4 in B5 with the data in C5
HERE 5 in B6 with the data in C6
First, I think you mixed up the cell data. In my solution below, I used the following:
HERE in B2 with the data in C2
HERE 2 in B2 with the data in D2
HERE 3 in B3 with the data in E2
HERE 4 in B3 with the data in F2
HERE 5 in B3 with the data in G2

In H2, I have the formula below. The formula can be copied down to get the rest of the rows.

Book1
BCDEFGH
1TitleArtistMediumdimensionsedition
2Title HEREArtist HERE 2Medium HERE 3Dimensions HERE 4Edition HERE 5NamredipsJoeink, acrylicHeight: 7cm x width: 7cmn/aTitle NamredipsArtist JoeMedium ink, acrylicDimensions Height: 7cm x width: 7cmEdition n/a
Sheet1
Cell Formulas
RangeFormula
H2=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"HERE 5",G2),"HERE 4",F2),"HERE 3",E2),"HERE 2",D2),"HERE",C2)
 
Upvote 0
You have saved me HOURS during a really stressful, busy week. I can't thank you enough!

You were right, I did mix up the cell data, but your formula did exactly as I'd hoped :biggrin:
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,953
Members
448,535
Latest member
alrossman

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