Forum Discussion
Cicciuzz
Mar 19, 2024Copper Contributor
GET.CELL Not Working
Hello Everyone, i'm trying to use and IF statement based on Background Color of a CELL. Reading on web, I found the formula =GET.CELL(63,RIF) to get the color code. Tried on a cell, but i get an e...
- Mar 19, 2024
GET.CELL is an Excel 4 macro function. You cannot use it directly in a cell formula.
Let's say you want a formula to return the color index of the cell to the left.
Select B1 on Sheet1.
On the Formulas tab of the ribbon, click Define Name.
Enter GetColor in the Name box, and the formula =GET.CELL(63,Sheet1!A1)
Click OK.
In cell B1, enter the formula =GetColor
Remark: Excel will not automatically update the result of the formula when you change the fill color of a cell.
HansVogelaar
Mar 19, 2024MVP
GET.CELL is an Excel 4 macro function. You cannot use it directly in a cell formula.
Let's say you want a formula to return the color index of the cell to the left.
Select B1 on Sheet1.
On the Formulas tab of the ribbon, click Define Name.
Enter GetColor in the Name box, and the formula =GET.CELL(63,Sheet1!A1)
Click OK.
In cell B1, enter the formula =GetColor
Remark: Excel will not automatically update the result of the formula when you change the fill color of a cell.