% 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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!