+ Reply to Thread
Results 1 to 5 of 5

rounding values up and down

  1. #1
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    141

    rounding values up and down

    Hi guys just wondering if anyone could help me with this issue i have

    Currently at work I use different spreadsheets to work out different ways to explosive destroy things

    At the moment I am having a issue with the attached file. (referring to F12, E19 and E23)

    When i work out boreholes with the pre determined drill length if the value drill length is equal to or lower then the expected depth hole it wont work it will ask me to drill holes on each side of the object - The data comes from sheet 1 and the values go up in 2s so when i changed it to use the actual length then drilling times would not populate if it was not a even number

    the details in sheet 1 i refer to are AG - AJ

    Any help would be greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: rounding values up and down

    Sorry - not clear (to me).

    F12 is blank.

    What results are you expecting in E19 and E23?

    Nothing in your workbook is returning an error, and as I do not work in your field, I have no idea, looking at the data, what might be right and what might be wrong (although I am sure it jumps out at you).

    Could you tell us (a) what your expected results are where you perceive them to be wrong and (b) talk us through, step-by-step and result by result, at least one calculation that you think is wrong?
    Last edited by AliGW; 10-03-2021 at 07:24 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    141

    Re: rounding values up and down

    Hi AliGW

    Sorry its not clear.

    So at the moment if i use E12 my drill bit size and i put 2.7 a uneven number in there E19 will populate as a even number

    If you look at sheet 1 the numbers in AH are what its referring too fro drill size and they are only even numbers.

    If i changed my code in F19 to =CEILING(SUM(2*E10/3),0.1) and E19 =CEILING(IF(E12<F19,SUM(E10/2),F19),0.1) it then will allow E19 my depth of hole to be 2.7 m the length of my drill bit size E12 however then it come sup with error in E23 as E19 is not a even number the same as on sheet 1 is there a way for this to look for the next number?

    I hope this makes sense

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: rounding values up and down

    "Whoosh," is the noise I hear as this flies right over my head!

    Sorry, but I am utterly befuddled. Fear not, though - someone here will 'get' it, I am sure. Bear in mind that it's Sunday, and the footfall here is much lighter at the weekend. I am sure you will get help at some point. Hang on in there!

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: rounding values up and down

    Hi,

    I too am struggling.

    As Ali said we need to have specific examples of different inputs and your manually calculated results of what answer you expect.
    It doesn't help that mention is made of F19 which as Ali said is blank. I suspect that maybe you mean E19, i.e. hole depth you are calculating. If so that would of course create a circular reference. It may be that a macro is needed but let's understand the results you expect first.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. rounding of values to specific range values
    By pete.odi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2013, 03:38 PM
  2. Excel 2007 : rounding up values to a specific value
    By debbelles1 in forum Excel General
    Replies: 4
    Last Post: 04-03-2012, 09:56 AM
  3. Time Values and Rounding
    By Kwarren in forum Excel General
    Replies: 5
    Last Post: 01-24-2012, 05:11 PM
  4. Excel 2007 : Rounding values up to nearest 10p
    By dave_1 in forum Excel General
    Replies: 5
    Last Post: 11-13-2010, 03:54 AM
  5. Rounding of values then using in another equation
    By Lozza65 in forum Excel General
    Replies: 1
    Last Post: 02-20-2009, 01:31 AM
  6. Rounding up/down of time values
    By Mike_Dean in forum Excel General
    Replies: 7
    Last Post: 05-20-2008, 08:05 PM
  7. Absolute values and rounding down
    By Jules_syd in forum Excel General
    Replies: 2
    Last Post: 08-27-2007, 11:56 PM

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