I mean if the sum exceeds 30, i need to keep it around 30... or the sum shuld
not be more than 30 i. e Sum<=30
If you want Column D (which is the sum of A,B,C) to show 30 if the result of
the Sum exceeds 30 then use this in Col D.
=IF(SUM(A3:C3)>30,30,SUM(A3:C3))
If you want Col E to show 30 even if Col D exceeds 30 then use this in E
=IF(D3>30,30,D3)
Hope that helps.
>I mean if the sum exceeds 30, i need to keep it around 30... or the sum
>shuld
[quoted text clipped - 12 lines]
>> > vain...
>> > can anyone help plz
David Biddulph - 08 May 2008 16:08 GMT
Instead of =IF(SUM(A3:C3)>30,30,SUM(A3:C3)) you could use
=MIN(SUM(A3:C3),30)
and instead of =IF(D3>30,30,D3) you could use =MIN(D3,30)
--
David Biddulph
> If you want Column D (which is the sum of A,B,C) to show 30 if the result
> of the Sum exceeds 30 then use this in Col D.
[quoted text clipped - 23 lines]
>>> > vain...
>>> > can anyone help plz