Round function within a formula
Hi!
I am trying to round 2 numbers, multiply them and then take that sum and multiply it by another number. In excel it is =round(A1,2)*round(A2,2)*A4. I am having issues duplicating this in smartsheet. What am I doing wrong? I have rounded down the columns, yet when doing the calculation with out the round function, it takes the extended value of the column, not the rounded number.
Thank you,
Suzanne
Comments
-
Have you tried the ROUND(number, [decimal_places]) function?
So in your example: (assuming you want to round to 2 decimal places)
=(ROUND(A1, 2) * ROUND(A2, 2))* A4
if you want to round to a whole number
=(ROUND(A1) * ROUND(A2))* A4 or =(INT(A1) * INT(A2))* A4
Check out the function sheet reference
https://help.smartsheet.com/functions
and examples sheet
https://app.smartsheet.com/sheets/fG59vPv8pw2mcCRM976JHQ2chGp85vJxW3rRv5X1?view=grid
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
-
Thank you Frank. That worked. It was a matter of using the correct number of parentheses. I find using formulas in smartsheet a little frustrating. I tried the link to the examples, but it said I do not have access. Anyway, thank you for the help.
-
Hi Suzanne,
Here's the link to the Formula Sheet. https://app.smartsheet.com/b/home?sc=mjjH3-k10qQ,mwFH3yU133o,1
I hope that helps!
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!