+ Reply to Thread
Results 1 to 6 of 6

Bespoke Rounding

  1. #1
    Registered User
    Join Date
    04-26-2010
    Location
    Forfar
    MS-Off Ver
    Excel 2003
    Posts
    4

    Bespoke Rounding

    Hi guys ,

    I'm not a fan of one time posting , but this looks a particularly effective forum!

    i am trying to figure out on excel whether it is possible to round numbers up or down in a more bespoke way for example i would like it to read:-

    Total sale price
    £8.55 £8.55
    £7.31 £7.35
    £2.74 £2.75

    however i normally get with most rounding functions:-

    Total sale price
    £8.55 £8.55
    £7.31 £7.30 (this one always rounds down)
    £2.74 £2.75

    so basically i would like a rounding function that would round up anything to a five that is greater than 0 but not round up anything greater than 0.5 - i.e. wouldn't change the £8.55 to £9.00.

    I hope this inst to much of a waffle , but would much appreciate some help ,

    Nick

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: more Bespoke Rounding

    See CEILING, eg:

    B1: =CEILING(A2,0.05)
    where A2 holds original value

    note however that were A2 = 8.57 then B2 would round to 8.60 - not clear if this is desired or not.

  3. #3
    Registered User
    Join Date
    04-26-2010
    Location
    Forfar
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: more Bespoke Rounding

    Thanks ! I think that would work , will have a go now !

    its a looong spreadsheet and want to make as easy as possible to avoid repetitive formula writing and to make it as trouble free for those using the spreadsheet in future.

  4. #4
    Registered User
    Join Date
    04-26-2010
    Location
    Forfar
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: more Bespoke Rounding

    Ok , thats pretty good but anything that has a total price of anything ending in a .5 will round up i.e. my 8.55 goes to 8.60

    its maybe something i cant do in excel


    Cheers !
    Nick

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: more Bespoke Rounding

    An exact value of 8.55 would not round to 8.60.

    Presumably you have additional significance which is not visible by virtue of formatting (ie alter cell format to 10 decimals and see what you have in the original value column)

    I would suggest then you ROUND also, eg:

    =CEILING(ROUND(A2,2),0.05)

  6. #6
    Registered User
    Join Date
    04-26-2010
    Location
    Forfar
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: more Bespoke Rounding

    Okay , That is the business!

    thank you very much for your help - VERY much appreciated ! and certainly the promptness of the reply too!

    hopefully I'll be able to participate on the forum too.

    cheers

    N

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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