I need to change the value in a cell in Col. A if the value in Col. B is highlighted yellow.
I’ve seen solutions to do the opposite (highlight row/cell based on value in Col. A like: Change background color of more than one cell on the same row when another cell has a certain numeric value in Excel 2010 ), but I need to mark/flag the rows (with a number, like “1”) with highlighting so that I can export this to a statistical program in a .csv or .txt format.
The only way to determine a cells fill colour is with VBA
Here’s a UDF to do it
or if you prefer
then use it in a cell formula like
or