“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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -