Forum Discussion
cmav99
Apr 28, 2020Copper Contributor
Count unique values from one column based on value in other column
Hi, I have 2 tabs in my excel sheet. Tab 2 contains this data: ID COLOUR
28 Red
28 Red
28 Red
28 Blue
28 Yellow
28 Grey
28 Grey
28 Green
28 Green
28 Green
28 Green ...
- Apr 28, 2020Hi there,
If you are using a Microsoft 365 subscription for Office, you can use this formula:
=COUNTA(UNIQUE(FILTER('Tab 2'!$B$2:$B$16,'Tab 2'!$A$2:$A$16=A2)))
cmav99
Apr 28, 2020Copper Contributor
Thanks for the response Zack
Zack Barresse
Apr 28, 2020Iron Contributor
You are very welcome. Glad to help. 🙂