+ Reply to Thread
Results 1 to 2 of 2

Thread: Rounding off in peculiar cases

  1. #1
    Registered User
    Join Date
    02-02-2012
    Location
    Goa, India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Angry Rounding off in peculiar cases

    I have to do some work calculations. The increment of an employee is 3p.c. of Band Pay Plus Grade Pay. If the integral part of the result is a multiple of ten and the fractional part is less than .50, then the increment gets rounded to the integral part alone. But if the Integral part is any other than a multiple of 10 then the increment gets rounded off to the next higher 10 rupees. How can I write a formula for this?

  2. #2
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,460

    Re: Rounding off in peculiar cases

    Perhaps...

    =CEILING(A1-(TEXT(MOD(A1,1),"0;;1")+0<0.5),10)

    If you can give us a before & after examples, would be helpful.
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0