Excel COUNTIF and SUMIF Based On Cell Color - Excel Formula

  Рет қаралды 6,873

Excel Bootcamp

Excel Bootcamp

Күн бұрын

Welcome to our tutorial on how to use Excel COUNTIF and SUMIF Based On Cell Color.
⬇️Download DataFX free function library:
excelkid.com/add-ins/
🎓 LEARN MORE in my Excel tutorials: excelkid.com/
🔔 SUBSCRIBE if you’d like more tips and tutorials like this.
🎁 SHARE this video and spread the Excel love.
Chapters:
00:00 Intro
00:09 COUNTIF based on cell color
00:46 Limitations of the GET.CELL function
01:05 COUNTBYCOLOR and SUMBYCOLOR functions
To count or sum cells by color in Excel you can use different methods:
1. Using the GET.CELL function
2. Using the COUNT BY COLOR and the SUM BY COLOR functions.
In the example, I want to use countif based on this color. First, create a named range. Go to the Formulas Tab and click on define name.
Add a name, for example, ColorCode. In cell D4 apply the colorcode function and copy the formula down. Now you can count the number of colored cells using the COUNTIF formula. This formula will count cells in the ColorIndex column if they have a matching code. In this example, it counts all the six values corresponding to the blue color. And here is the sum of the blue cells.
The main problem is that the GET CELL function can identify only 56 different colors. Now, I'll adjust the shade of blue, and then apply the formula. Unfortunately, it still returns the same color code, so the calculation will be incorrect.
So, we need to find a better solution. Take a closer look at the COUNTBYCOLOR function, it is a lightweight solution. The function is a part of our free library. Type the function and add the first argument, the cell color, and then use the range as a second argument. Press Enter to get the result.
The SUMBYCOLOR function uses the same logic. The greatest advantage of the new functions is that they recognize all the 16 million existing colors in Excel.

Пікірлер: 4
@excelkid
@excelkid 2 ай бұрын
The free DataFX function library contains 200+ high-performance user-defined functions (UDFs), each designed to simplify complex tasks and transform your experience with Excel. These UDFs streamline the creation of formulas, making them more intuitive and reducing the time it takes to perform data analysis. Our mission to excellence is unwavering as we continually reinvest in development, dedicating countless hours to refine and enhance the add-in’s capabilities. excelkid.com/add-ins/
@DeeAdamsDillingham
@DeeAdamsDillingham 2 ай бұрын
I am getting an error when I try to download it. It says can't view in protected view?
@excelkid
@excelkid 2 ай бұрын
Hi, please right-click on the file. At the bottom of the General tab, select the Unblock checkbox and select OK.
@deegadams
@deegadams 2 ай бұрын
I don't see that option. I think my organization has blocked add ins :(
How To Count Colors with an Excel Function | Count Colored Cells
4:56
Setting up tables in Google Sheets (Assignment Tracker part 1)
2:22
Everyday Spreadsheet by Keywords Content
Рет қаралды 31
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,7 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 39 МЛН
Sum Cells Based on Their Color in Excel (Formula & VBA)
12:18
TrumpExcel
Рет қаралды 131 М.
Creating a Sankey diagram of an income statement in Excel
0:37
SankeyArt
Рет қаралды 4,3 М.
Financial Analytics - Finance Dashboard (Easy to Use)
2:25
MSI Analytics
Рет қаралды 6 М.
Excel COUNTIF & SUMIF On Colour - No VBA Required
5:14
Chester Tugwell
Рет қаралды 406 М.
How to create a Sankey diagram in Excel
1:52
SankeyArt
Рет қаралды 1,3 М.
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,7 МЛН