Hi Sam,
Am Sun, 17 Jul 2011 12:02:20 -0700 (PDT) schrieb sam:
> I want that values , which are matched are highlighted. In other
> world , where the sum =0, then it should match all the relevant values
> and highlight's them
> Note: the column should be min of 100 lines
> the result should show:Highlight 250,-100,-100,-25,-25 , as there sum
> =0
> 100
> 250
> -100
> -100
> -25
> -25
your values in A2:A120. Then in A1:
=SUM(A2:A120)
in B2:B120 enter 0
and in B1:
=A1-SUMPRODUCT(A2:A120,B2:B120)
Start Solver => target cell B1 with value 0, changeable cells B2:B120,
conditions B2:B120 >=0, B2:B120 <=1, B2:B120 Integer
When solver has finished in B2:B120 are 0 and 1. Highlight all cells in
A2:A120 if in column B = 0.
Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
|