+ Reply to Thread
Results 1 to 4 of 4

round up in units of 80!

  1. #1
    Registered User
    Join Date
    01-11-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    13

    round up in units of 80!

    Hi I have written a spread sheet and have been stumped by one part I need to work out the following.

    It is for working out the measurements for roof battens in sheds and it needs to work on the following formula -

    Width of shed 2400mm

    I need to work out how long the batten has to be so the roof sheets fit evenly, the measurement has to start from 1460mm and go up in increments of 80mm eg 1540mm, 1620mm, 1700mm and so on. But the number has be closest increment of 80mm over the shed width if this makes sense, the size of the battens for 2400 width shed would be 2420mm but i need this to work out for any width shed not just 2400.

    Is there a formula for this to be worked out in excell, if so please help.

    Thanks Pricey74.
    Last edited by pricey74; 01-11-2009 at 09:26 AM.

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

    eg

    =CEILING(value,80)

    would round the value up to nearest multiple of 80.

    so given you have a starting point (1460) perhaps: =1460+(CEILING(A1-1460,80))
    where A1 holds width - eg 2400

    alternatively given you know that base point is 20 over the nearest multiple of 80 (1440) you could use: =CEILING(A1,80)+20
    Last edited by DonkeyOte; 01-11-2009 at 08:10 AM.

  3. #3
    Registered User
    Join Date
    01-11-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    13
    Thanks works perfect

    Thanks again

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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