hi, attached Excel file has A1:A23 = Date, B1= 1,2,…..16, R1= B and last column has S1= S. task here is to count how many B and S in each row and R2 has =COUNTIF(B2:Q2,”B”) and S2 has =COUNTIF(B2:Q2,”S”).
now, i want to count not from a range cell like B2:D2 or D2:F2 but at random cell like (B2 and F2) or (F2 and I2 and M2) to find the numbers of B and S in each row. does anyone knows how to do this? THANK YOU VERY MUCH.