H
Horatio J. Bilge
I formatted a cell as a fraction, and would like to designate the
denominator.
I am recording attendance, where "X" = present, blank = absent, "-" = (not
counted in attendance). I used the COUNTIF function to analyze attendance,
so if a person was present on 2 out of 4 days, the result is "2/4"
=COUNTIF(Attendance!C3:F3,"X")/(4-COUNTIF(Attendance!C3:F3,"-"))
I want the denominator to always be equal to the denominator of my formula
(in the example below, 2). The result should look like column F.
A B C D E F
1 NAME Day 1 Day 2 Day 3 Day 4
2 John Smith X - - 1/2
3 Jane Johnson X X - - 2/2
Thanks,
Horatio
denominator.
I am recording attendance, where "X" = present, blank = absent, "-" = (not
counted in attendance). I used the COUNTIF function to analyze attendance,
so if a person was present on 2 out of 4 days, the result is "2/4"
=COUNTIF(Attendance!C3:F3,"X")/(4-COUNTIF(Attendance!C3:F3,"-"))
I want the denominator to always be equal to the denominator of my formula
(in the example below, 2). The result should look like column F.
A B C D E F
1 NAME Day 1 Day 2 Day 3 Day 4
2 John Smith X - - 1/2
3 Jane Johnson X X - - 2/2
Thanks,
Horatio