I am trying to find out how I can go about this. Please refer to the attached image.
This is somewhat related to the previous thread I posted before but this one is kinda complicated (I guess, for me). P is Present and L is Late. I know how to use the COUNTIF function, but I want to know if what I want is possible. It's like answering 1+1+2+1=1 or vice versa. I want to be able to have an answer of 1 even though the person was present 3 times or has been late once. Please help me.
In Joe Smith's row, P is the only letter being counted. =IFERROR(COUNTIF(B2:F2,"P")/COUNTIF(B2:F2,"P"),0)
In Earl Root's row, L is the one being counted. =IFERROR(COUNTIF(B3:F3,"L")/COUNTIF(B3:F3,"L"),0)
What I want is, in all rows, I want to be able to count both P and L but the Total or the result is still 1
It's like =IFERROR(COUNTIF(B2:F2,"P")/COUNTIF(B2:F2,"P"),0) and =IFERROR(COUNTIF(B3:F3,"L")/COUNTIF(B3:F3,"L"),0) all together. If i'm doing this wrong, please let me know.
\1
Bookmarks