Jump to content

Rounding up to a specific number


themattman007

Recommended Posts

Hello all you DIESEL experts. I am trying to create a spreadsheet type formula to round up numbers to a specific number. Below is the working formula in excel. I need to get this formula to work in AutoCAD 2014 Lt. 

=IF(B3=2,2,IF(B3=3,3,IF(B3=4,4,IF(B3=5,6,IF(B3=6,6,IF(B3=7,7,IF(B3=8,8,IF(B3=9,10,IF(B3=10,10,IF(B3=11,13,IF(B3=12,13,IF(B3=13,13,IF(B3=14,15,IF(B3=15,15,IF(B3=16,20,IF(B3=17,20,IF(B3=18,20,IF(B3=19,20,IF(B3=20,20,IF(B3=21,25,IF(B3=22,25,IF(B3=23,25,IF(B3=24,25,IF(B3=25,25,IF(B3=26,30,IF(B3=27,30,IF(B3=28,30,IF(B3=29,30,IF(B3=30,30)))))))))))))))))))))))))))))

 

Thank you for any advice.

Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...