Summing highest value in cells limited by validation.

dci1812

New Member
Joined
Nov 14, 2014
Messages
2
Good day. I have a sheet used to track scores on an assessment. I have limited the possible cell entries (using the validation function) to either full points awarded, zero points awarded, or NA. I would like to be able to sum all the cells that have either full points or zero points, BUT for the cells with zero points awarded, I would need the value counted to be what the full points awarded would have been (if they hadn't gotten a zero). Basically, I am trying to get the total points possible (minus any NA's). I will try to draw an example.<BR><BR>
<TABLE style="WIDTH: 500px" class="wysiwyg_dashes wysiwyg_cms_table_grid">
<TBODY>
<TR class="wysiwyg_dashes_tr wysiwyg_cms_table_grid_tr" vAlign=top>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>A</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>B</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>C</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>D</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>E</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>F</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>G</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>Points awarded</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>Possible points</FONT></P></TD></TR>
<TR class="wysiwyg_dashes_tr wysiwyg_cms_table_grid_tr" vAlign=top>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>1</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>1</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>0</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>NA</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>5</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>0</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>5</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>5</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>16</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>24</P></TD></TR>
<TR class="wysiwyg_dashes_tr wysiwyg_cms_table_grid_tr" vAlign=top>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P><FONT color=#ff0000>2</FONT></P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>0</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>5</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>3</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>0</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>3</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>0</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>NA</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>11</P></TD>
<TD class="wysiwyg_dashes_td wysiwyg_cms_table_grid_td" align=middle>
<P>22</P></TD></TR></TBODY></TABLE><BR><BR>So, for example, cell A:1 has been limited to an entry of 1, 0, or NA, cell B:1 has been limited to an entry of 5, 0, or NA. I am trying to have the "Possible Points" cells sum the total POSSIBLE points available (not counting the NA cells).<BR><BR>Any help would be most appreciated.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Maybe...

=SUMPRODUCT({1,5,3,5,3,5,5},--ISNUMBER(A1:G1))

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,078
Latest member
skydd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top