Table formula not rounding up

Table formula not rounding up

tevansHMH
Advocate Advocate
2,084 Views
5 Replies
Message 1 of 6

Table formula not rounding up

tevansHMH
Advocate
Advocate

I have added formulas to table cells that I want to always round up if more than a whole number. I have tried round() and trunc() and neither will round up. My formula looks like this

=trunc(((D3/150)*144)/2)/56 this returns 22.285714 not 23

=trunc(((D3/150)*144)/2)/144 this returns 8.666667 not 9

D3 enters a value in Cell D3

Data Type is set to Decimal Number and Formatting is set to (none)

 

All I can find in my research is to use either round() OR trunc() and neither work in my case.

Thank you in advance for your help.

0 Likes
Accepted solutions (1)
2,085 Views
5 Replies
Replies (5)
Message 2 of 6

dbroad
Mentor
Mentor

Match your parentheses  The formulas must be in the form: =function (argument)

Example: =round(D3/150*144/2/56)

If this is about venting or occupant load though, you may always need to round up.

Architect, Registered NC, VA, SC, & GA.
Message 3 of 6

tevansHMH
Advocate
Advocate

yes, this is for attic ventilation so must always round up.

0 Likes
Message 4 of 6

dbroad
Mentor
Mentor

Note: The round function doesn't always round up.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 5 of 6

tevansHMH
Advocate
Advocate

Is there a function that will force it to round up?

0 Likes
Message 6 of 6

dbroad
Mentor
Mentor
Accepted solution

Excel has a roundup function. With AutoCAD, round(#+0.5) will do.

Architect, Registered NC, VA, SC, & GA.