Forum Discussion
bapatri
Sep 29, 2021Copper Contributor
Fill background color of cell 1 if cell 1 is included in cell 2 formula
I am trying to add a fill color to cell 1 if cell 1 is included in the formula of a cell 2. Also, it would need to remove fill color from cell 1 if it is removed from cell 2. I have attached an ...
- Sep 29, 2021
I need to admit that it is the first time I see something like that.
Well, the conditional formatting formula would be something like that.
=FIND(SUBSTITUTE(ADDRESS(ROW(),COLUMN()),"$",""),FORMULATEXT($B15))>0Remember to change the reference where the "main" formula is. This case the formula is on B15
Find attachment.
Juliano-Petrukio
Sep 29, 2021Bronze Contributor
You just need to select the cells you want to apply the formatting
On Applies to you change the range you want to apply
bapatri
Sep 29, 2021Copper Contributor
Perfect, thank you.
- Juliano-PetrukioSep 29, 2021Bronze ContributorAnytime.
Remember that hitting the like button is less costly than buying me a coffee.