Add multiple true values?
I'm making a checklist for a video game and need to add multiple checked values.
I'm able to write =IF(B8+B9+B10+B11+B12+B13+B14+B15+B16+B17+B18+B19+B20+B21+B22+B23=16, "Finished!", "Daggers") to switch the section head between Daggers if all boxes aren't checked to Finished! if all boxes are checked. My question is:
I have a lot of sections to do this for, and I was wondering how to do this quicker? I tried =IF(B8:B23=16, "Finished!", "Daggers") and that doesn't work. Any ideas?
Posted Apr 19, 2022, 7:38 PM UTC
Try =IF(SUM(B8:B23)=16,"Finished!","Daggers")
I tried that, and it just defaults to Daggers regardless of how many boxes are checked.
If cell B24 is unused you could try putting the sum there and have the cell you want to check as =IF(B24=16, "Finished!","Daggers") . Tested this in sheets and it worked for me (moblie)
Just to confirm, I'm attempting to use an IF function with the sum of checkboxes, not numerical values. So for example: