Possible to find/replace text with a formula?

grexcelman

Board Regular
Joined
Mar 1, 2015
Messages
50
I have multiple tabs with dozens of cells containing a year that had been hard coded as text. I'm trying to find replace that text with a formula that links to a cell on a separate tab used for updating the year for all of those cells in question.
I'd like to replace '2015 for a formula that reads =Year!$A1$

is it possible to find replace each text occurance of the year with this formula? In each attempt I've made, the formula gets inputed as a string of text instead of the working formula.

thanks.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Select the cells with '2015 and do a TextToColumns and just click Finish on the first tab. This will get rid of the leading ' mark

Then do a find and replace of 2015
Have the option for Entire Cell Contents checked and replace with your formula.
 
Upvote 0

Forum statistics

Threads
1,216,753
Messages
6,132,514
Members
449,732
Latest member
Viva

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