You can also try
=SUM(IF(FREQUENCY(IF(A2:A11<>"",MATCH(A2:A11,A2:A1 1,0)),ROW(A2:A11)-ROW(A2)+1),1))
(adapt ranges as necessary-unchecked-Commit as array formula with Ctrl+Shift+Enter)
which should count the number of distinct vendors in one go
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
|