Forum Discussion
Lawrence_Lam_320
May 29, 2023Copper Contributor
Count unique values among duplicates with 1 condition
Hi expertise, I have a problem which is to count the unique job number under ticket type "C" as below. Answer should be "TWO" due to Job Number 3 & 4 both are under Ticket Type C. I knew the fo...
- May 29, 2023
You can also try the following formula if you have Office 365...
=COUNT(UNIQUE(FILTER(A2:A11,B2:B11="C")))
OliverScheurich
May 29, 2023Gold Contributor
=SUMPRODUCT(IFERROR(1/(COUNTIFS(A2:A11,A2:A11,B2:B11,"=C")),0))
You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
Lawrence_Lam_320
May 30, 2023Copper Contributor
thanks for your great help