View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Jane Jane is offline
external usenet poster
 
Posts: 202
Default Validation of a sum

Thanks - but I know that formula.

I look for a solution, where the sum is being validated in a way, that make
it impossibly to move to the next step until the rule is satisfied.
--
Jane


"Gary''s Student" skrev:

Let's say the cells in question are A1 thru A20. In another cell enter:

=IF(OR(SUM(A1:A20)=0,SUM(A1:A20)=100),"Valid","Not Valid")

--
Gary''s Student - gsnu200755


"Jane" wrote:

I want to validate that a sum of cells is 0 or 100. How do I do that?
--
Jane