question

CicelyMason-0650 avatar image
0 Votes"
CicelyMason-0650 asked emizhang-msft commented

Assign a numeric value to a Cell with a Checkbox or if selected in Excel

Hi,

I have five columns each with different values. I want to add a checkbox so that when they click on that cell, it assigns that value from the criteria column in the cell. Then I want to be able to add those totals going across. See below for example

                                  Criteria1    Criteria2     Criteria3    Criteria4     Criteria5      Total 
                                      w=20        w=15         w=5           w=15        w=10

Project A x x x 35
Project B x x x 40
Project C x 15

office-excel-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for accepting answer here. Other partners who read the forums with the same issue can get more information from the correct result.

0 Votes 0 ·

1 Answer

Lz-3068 avatar image
0 Votes"
Lz-3068 answered

Hi @CicelyMason-0650

Doable with checkboxes but that's crazy to put in place (avail. here for download). Instead:

68394-demo.png

In G3 (and copy down) : =SUM(IF(B3:F3<>"",B$2:F$2,)) and validate with Ctrl+Shift+Enter if you don't run Excel 365 + Hide row 2




demo.png (9.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.