EXCEL - Sum or Count Values based on CELL COLOR

Опубликовано: 19 Март 2026
на канале: Data Untelligence
5,379
44

Learn in 2 easy steps on how to create a new formula in excel to count or sum values, based on the cell colour.

Visual basic formula to add...


Module 1:
Function Cellcolor(rng As Range) As Long
Application.Volatile
Cellcolor = rng.Interior.Color
End Function

This Workbook:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Application.Calculate
End Sub


Check out my other playlists below:

PIVOT TABLES:
   • Excel pivot table dates to Months - Pivot ...  

EVERYTHING about the FILTER FUNCTION:
   • EXCEL Filter Rows & Columns  

EXTRACT first word, 2nd word, last word, numbers, letters:
   • Extract the numbers from a Cell in Excel -...  

2 MINUTE Formula:
   • Excel If formula - If CONTAINS formula in ...