Given the following file:
Column A---- Column D
alfa ---- (blank)
beta ---- beta
(blank) ---- gamma
(blank) ---- (blank)
omega ---- omega
I want to count the number of unique text cells in the two columns, therefore 4:
alfa, beta, gamma, omega
At the moment I roughly solved by this formula:
=COUNTA(A2:A6)+COUNTA(D2:D6)-SUMPRODUCT(--(A2:A6=D2:D6)*(LEN(A2:A6)>0))
Is there any simpler and more elegant way to do the same thing?