Forum Discussion
null null
Mar 19, 2018Copper Contributor
Formula to calculate % variance
Good Morning,
It is more a mathematical question than an excel related question but I can't figure it out by my own...
I have 20% in a cell A1, 15% in B1 I want to show the difference between...
- Mar 19, 2018
Nope, copy/paste like this doesn't work. In custom format box you type #" pp", after that press Ctrl and hit J, release Ctrl and type %
Combination Ctrl+J adds non-printable character which force carriage return into the string. It looks like this
% will be invisible here since it's on another line.
If uncheck Wrap Text in cell formatting you'll % within the line, with Wrap Text it's invisible since on another line within the cell
SergeiBaklan
Mar 19, 2018MVP
Another trick if apply Wrap Text to C1 and number format like
#" pp"<Ctrl+J>%
More about that is here https://chandoo.org/wp/2012/01/31/custom-number-formats-multiply-divide-by-any-power-of-10/
null null
Mar 19, 2018Copper Contributor
Trying this one without success.
Do I have to copy paste the #"pp"<ctrl+J>% in custom format ? If yes I can't make it work ...
Thanks for your help
- SergeiBaklanMar 19, 2018MVP
Nope, copy/paste like this doesn't work. In custom format box you type #" pp", after that press Ctrl and hit J, release Ctrl and type %
Combination Ctrl+J adds non-printable character which force carriage return into the string. It looks like this
% will be invisible here since it's on another line.
If uncheck Wrap Text in cell formatting you'll % within the line, with Wrap Text it's invisible since on another line within the cell
- null nullMar 19, 2018Copper Contributor
Now it's working! Thanks for taking the time to show me the steps