Subtraction and Division formula
Hello,
I am trying to develop a formula which will look like this:
Column 1 value - Column 2 value divided by column 1 value to equal in column 3. Can anyone help me with building out this formula?
Best Answer
-
Hi @tim.curtin
I hope you're well and safe!
Try something like this. (as suggested by Paul in his first formula)
=([Column 1]@row - [Column 2]@row) / [Column 1]@row
Did that work/help?
I hope that helps!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!
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.
Answers
-
Try this:
=([Column 1]@row - [Column 2]@row) / [Column 1]@row
Or depending on exactly which portion should be calculated first:
=[Column 1]@row - ([Column 2]@row / [Column 1]@row)
-
@Paul Newcome Thank you this is what i needed! One question When getting the results of the formula, how would i get it to show similar to this example
Column 1 value 100
Column 2 Value 50
Result should be 50%
When i do the formula it gives me a result of 99.5. Is there another argument i should include in the formula?
For context our formula is to track results from start of day "column 1" and what has been completed by end of day "column 2", then based off of that we want to see % of what has been completed in "column 3" as our final result.
-
Hi @tim.curtin
I hope you're well and safe!
Try something like this. (as suggested by Paul in his first formula)
=([Column 1]@row - [Column 2]@row) / [Column 1]@row
Did that work/help?
I hope that helps!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!
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.
-
thank you both!
-
You're more than welcome!
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.
-
Happy to help. 👍️
-
I actually have another question for my formula @Paul Newcome @Andrée Starå
If I wanted to include IFERROR for when my value comes up as #DIVIDE BY ZERO. How would i format that.
Based on your previous help this is my current formula format.
=([Start of day Power Thursday]@row - [End of Power Thursday Metric]@row) / [Start of day Power Thursday]@row
-
You would drop the whole thing in the first portion of the IFERROR and then have your output as the second portion.
=IFERROR(orignial_formula, output_if_error)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!