Count unique combination of values in multiple columns

2077delta

Active Member
Joined
Feb 17, 2002
Messages
252
Office Version
  1. 365
Platform
  1. Windows
I have a table where the the cells in column A are color coded and there are values in columns B:E with no color. I have a unique list of the items in column A at the bottom of my list with the cells color coded. I need a function that I can look at the cell color in my unique list at the bottom of the table and count how many items in the column above (columns B:E) have values greater than zero.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
B10: =COUNTIFS($A$2:$A$7,$A10,B$2:B$7,">0")
F10: =SUMPRODUCT((B$2:E$7>0)*(A$2:A$7=A10))


Book1
ABCDEF
1IDField1Field2Field3Field4
2x3019-4-5
3y618-927
4z10274-8
5x202923-10
6y24272721
7x-629269
8
9UniquesField1Field2Field3Field4Total
10x23218
11y22127
12z11103
Sheet1


You'll have to explain in more detail how cell colour comes into the equation? Also, is the cell colour formatting? Or conditional formatting?

Depending on what you need, you may need a VBA solution. Is that OK?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top