Forum Discussion
JustasG
Dec 23, 2024Copper Contributor
IF with round and round up
Hi, I am trying to create formula that would use round if values is less than 1 and if more than 1 would use roundup.
Is there any ideas is that is possible?
3 Replies
- SergeiBaklanDiamond Contributor
Or
=CEILING(A1-(A1<1)/2,1)
- SergeiBaklanDiamond Contributor
Perhaps
=IF(A1 < 1, ROUND(A1,0), ROUNDUP(A1,0) )
- m_tarlerBronze Contributor
Alternatively:
=IF( A1<0.5, 0, ROUNDUP(A1,0) )