Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I think I'm going mad! I have a list of numbers to process. If the number is less than 5 I want to make it zero If the number is above 5 but below 50 I want to round it to the nearest 5 If the number is above 50 I want to round up to the nearest 10 So I use:- =IF(A1<5,0,IF(AND(A1=5,A1<50),?????,IF(A150,CEIL ING(A1,10)))) I just can't work out what to put where the ????? are. Round only seems to work to the nearest 10 eg ROUND(A1,-1) Anyone know how I make it round to the nearest 5? Thanks Colin -- Colin Vicary ------------------------------------------------------------------------ Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472 View this thread: http://www.excelforum.com/showthread...hreadid=545079 |