Ukraine flag War in Ukraine. Here's what Ablebits is doing to make sure our team and projects are safe.

AblebitsGetCellColor function

The AblebitsGetCellColor function returns the color code of the background color of the selected cell.

For example:

=AblebitsGetCellColor(N22) Returns the color code of the background color of the N22 cell.

Note. Formulas created with this function will work only on machines with installed Ultimate Suite for Excel. If the workbook is opened on another computer where Ultimate Suite is not installed, the result will be lost.
Tip. You can find the complete list of custom functions on the Ablebits functions for Excel page.

Syntax

AblebitsGetCellColor(reference)

The AblebitsGetCellColor function syntax has the following argument:

  • reference
    Required. The cell reference with background color to return, e.g. B2.

Remarks

  • The function does not work for conditionally formatted cells and for ranges formatted as tables with colored alternate rows or columns.