% Variance between 2 numbers
Comments
-
Assuming you want the
subtract X from Y to get an absolute value "V"
get the MAX of "X" and "Y" [to get the greater of the two]
"V"/(MAX of "X" & "Y") [format this column as percentage ---- don't forget to increase your decimal place accuracy]
=ABS([Column2]21 - [Column3]21) / MAX([Column2]21:[Column3]21)
-
Ezra,
I did the calculation, but I get the value 1 instead of 100%, how can I increase the decimal place to show 100 in the formula?
Thanks for the help?
-
Just change the column or cell to a percentage format (next to currency format in the top toolbar)
.25 = 25%
.5 = 50%
1 = 100%
-
Worked Thanks
-
This is great; however, what if you needed to show the percentage of increase OR decrease?
-
we have the same question at Melody...
-
To see if it is an increase or decrease remove the abs( ) part of the equation. It is what makes everything positive.
=[Column2]21 - [Column3]21) / MAX([Column2]21:[Column3]21
This will allow the positive and negative values to show.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 460 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!