Find and replace with cell reference

tadrim

New Member
Joined
Dec 5, 2017
Messages
3
Hi All!

I'm trying to do a find and replace but I would like to replace the contents with a Cell value, there are around 500 cells that need this doing so i'm trying to think of a way to do it using the cell value as a variable

Basically one of the example are below:

=IF(ISBLANK(IDdata!$B$3),"","here")

I'm wanting to change the "here" with (IDdata!$B$3) so the full string to look like:

=IF(ISBLANK(IDdata!$B$3),"",(IDdata!$B$3)

Any help would be much appreciated!!

Thanks!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You have one parenthesis too many, try it like this...

=IF(ISBLANK(IDdata!$B$3),"",IDdata!$B$3)
 
Upvote 0
You have one parenthesis too many, try it like this...

=IF(ISBLANK(IDdata!$B$3),"",IDdata!$B$3)


Hi There!

Thanks for that, I dont suppose you would know how to do a find and replace to replace all the "heres" with the cell references that are listed earlier within the cell?

Thanks
 
Upvote 0
Thanks for that, I dont suppose you would know how to do a find and replace to replace all the "heres" with the cell references that are listed earlier within the cell?
Unless I am misunderstanding what you want as a final result, I would think you should use this formula and copy it down to the end of your data...

=IF(ISBLANK(IDdata!B3),"",IDdata!B3)

The $ signs were making the cell references "absolute"... removing them makes the cell references "relative".
 
Upvote 0
Unless I am misunderstanding what you want as a final result, I would think you should use this formula and copy it down to the end of your data...

=IF(ISBLANK(IDdata!B3),"",IDdata!B3)

The $ signs were making the cell references "absolute"... removing them makes the cell references "relative".

Hi There!

Thanks, the problem is that i have around 500 records each are fortmatted so there are around 3 spaces between each row, there is also multiple references that also need incrementing i.e

=IF(ISBLANK(IDdata!$F$2),"","here"
=IF(ISBLANK(IDdata!$C$2),"","here"

etc hope that makes a little more sense!

Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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