Page 1 of 1

count

Posted: Sat Nov 21, 2020 12:06 am
by sna
Hi Dear,

Can we get a count of only distinct values by formula? same like option in pivot, but want to do this by formula?

Thanks

Re: count

Posted: Sat Nov 21, 2020 7:22 am
by snasui
:D The answer of Absent should be 2, Karim and Ahsan. Why your correct result is 1?

Re: count

Posted: Sat Nov 21, 2020 12:54 pm
by sna
Oop sorry

Re: count

Posted: Sat Nov 21, 2020 1:05 pm
by snasui
:D The formula in G10 could be:

=SUMPRODUCT((($A$2:$A$28=F10)*($E$2:$E$28="Absent"))/COUNTIFS($A$2:$A$28,$A$2:$A$28&"",$C$2:$C$28,$C$2:$C$28&"",$E$2:$E$28,$E$2:$E$28&""))

Re: count

Posted: Sat Nov 21, 2020 5:41 pm
by sna
Thank you 🙏