“IF” formula in excel using multiple conditions -


if a1 less 50 a2 should same number. if between 50 , 100 should round nearest 5. if above 100 should round nearest 50. can in 2 formulas not 1.

=if(c7>100,ceiling(c7,50),ceiling(c7,1)) 

­

=if(and(c7<100,c7>50),ceiling(c7,5),ceiling(c7,1)) 

did try :

=if(c7>100,ceiling(c7,50),if(and(c7<100,c7>50),ceiling(c7,5),ceiling(c7,1))) 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -