So I recently upgraded to Office 365 beta version to utilize the new Checkboxes in Excel. It's really cool but I have a question about the formula I wrote.
I count the checkboxes with the COUNTIF function and the value that gets assigned to each checkbox that's ticked is either 3 or 7.
But because of the way I have each factor for the checkboxes organized, the 3 and 7 values are not all grouped together. The only way I could see to account for this was to use multiple COUNTIF functions in the formula. Thus, the formula is quite long.
I just wanted to know, is there a simple way to shorten my formula?
Formula:
=IF(B1="","",COUNTIF(B3:B6,TRUE)*3+COUNTIF(B7,TRUE)*7+COUNTIF(B8:B16,TRUE)*3+COUNTIF(B17,TRUE)*7+COUNTIF(B18,TRUE)*3+COUNTIF(B19,TRUE)*7+COUNTIF(B20,TRUE)*3+COUNTIF(B21,TRUE)*7+COUNTIF(B22:B25,TRUE)*3)
Bookmarks