Thread: formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Umlas, Excel MVP Bob Umlas, Excel MVP is offline
external usenet poster
 
Posts: 320
Default formula

Much misplaced parentheses:
=IF(B2=1000.01,ROUNDUP(B2,-2),IF(B2=25.01,CEILING(B2,5),IF(B2=15.01,25,IF(B 2=10.01,15,IF(B2=0.01,10,IF(B2=0,25))))))

"Himansu" wrote:


Hello everyone,

I can't seem to get this formula to work:

=IF(B2=1000.01,ROUNDUP(B2,-2)),IF(B2=25.01,CEILING(B2,5)),IF(B2=15.01,25)
,IF(B2=10.01,15),IF(B2=0.01,10),IF(B2=0,25)

---

Am I doing something wrong? Please advise.

--
Thanks,
Himansu