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

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -