View Single Post
 
Old 03-14-2014, 02:06 AM
MamaMonster MamaMonster is offline Windows 8 Office 2013
Novice
 
Join Date: Mar 2014
Posts: 1
MamaMonster is on a distinguished road
Default To restrict the Accumlate Sum

Dear Sir,

I am trying to formulate a formula for the below description

Output D326 Stored E3:E26
I have the following formula to compute the data for stored
"IF(D31>10,IF(D31>20,IF(D31>30,IF(D31>40,IF(D31>50 ,50,40),30),20),0))"

However, I want to restrict the accumulated stored to the extend it will not exceed 290. Meaning if Accumulated Stored at E16 is 290 already and i want restrict E17:E26 = 0 even if it meet the 'IF' What else should i add?

Thanks in advance
Reply With Quote