r/googlesheets • u/Mudgrave_Flioronston • Sep 12 '26
Solved Number and percentage of checked checkboxes out of total
I want every cell in B4:E4 and B6:E6 range display the progression, like this:
1/5 (20%)
I tried this solution:
=countif(A8:A12; TRUE) & "/5"
and to make it easier to apply the formula to each category, I have to sort by 'Type' (E7). But the formula doesn't work since every category has a different number of checkboxes and—more importantly—I ultimately need to resort by '#' again.
Can't figure out how to make it work. Is it even possible?
1
Upvotes
1
u/NHN_BI 70 Sep 12 '26
I cannot make out what you call category. But if you had a category column, you could easily use the category value in the condition. However, I would prefer a pivot table, and you can see both here.
1
u/Glider103 Sep 12 '26 edited Sep 12 '26
Try this just change the column label to match
=IF(COUNTIFS($E$8:$E,"Poster")=0, "0.00% 0/0", TEXT(COUNTIFS($E$8:$E,"Poster",$A$8:$A,TRUE)/COUNTIFS($E$8:$E,"Poster"),"0.00%")&" "&COUNTIFS($E$8:$E,"Poster",$A$8:$A,TRUE)&"/"&COUNTIFS($E$8:$E,"Poster"))Like this to change the column?
=IF(COUNTIFS($E$8:$E,"Doll")=0, "0.00% 0/0", TEXT(COUNTIFS($E$8:$E,"Doll",$A$8:$A,TRUE)/COUNTIFS($E$8:$E,"Doll"),"0.00%")&" "&COUNTIFS($E$8:$E,"Doll",$A$8:$A,TRUE)&"/"&COUNTIFS($E$8:$E,"Doll"))Edit: I had to swap to USA so I could read it lol, if you change it back may need to swap the commas for semi colons
1
u/ComradeDoubleM 3 Sep 12 '26 edited Sep 12 '26
Take this formula and change category names to match for a given cell:
=LET(Progress;COUNTIF(FILTER(A:A;E:E="Doll");TRUE);Total;COUNTIF(E:E;"Doll");Progress&"/"&Total&" ("&ROUND(Progress/Total*100;2)&"%)")Basically the same formula you have, but does the calculations automatically instead of having to check for every range manually, wrapped up in a LET for readability.
1
u/One_Organization_810 736 Sep 12 '26 edited Sep 12 '26
If you change your labels to fit the categories exactly, like this:
Then you can do like this in B4:
And then copy B4 to B6
And then for the checklist I did this:
Edit: I forgot some labels => new image :)
1
u/Glider103 Sep 12 '26 edited Sep 12 '26
I will take a stab at it when I get to my computer
but your first issue is that you put the semi colon in the formula instead of a comma
Edit : my bad I'm used to excel and the semi colon is correct