+ Reply to Thread
Results 1 to 2 of 2

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
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    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.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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.6.0 RC 1