I would like to have a pct change formula that compares the values of two cells show up in green if the pct change is positive and in red if the pct change is negative.
Any help would be appreciated.
I would like to have a pct change formula that compares the values of two cells show up in green if the pct change is positive and in red if the pct change is negative.
Any help would be appreciated.
how are you comparing the two cells
Assuming comparisons are in B1 and B2
and the result in A1
so whats the % you are comparing
the difference
so (B1-B2)/B1
si if +ve then Green
if -ve then Red
you could use conditional format and use a formulas in conditional format
A1 < 0 then red
A1> 0 then green
what colour do you want if 0 ?
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
with starting value in A1 and ending value in B1, put:
In C1: =IF(A2="",0,(B2-A2)/A2)
With C1 selected,
1. Click Conditional Formatting, click Highlight cell rules, click "Greater than" and choose the desired color.
2. Click Conditional Formatting, click Highlight cell rules, click "Less than" and choose the desired color.
Ben Van Johnson
Hi ppcbuilders,
Do you mean you have 2 Columns with percentage numbers & you want to compare the change in value of the percentages in the same Row?
If so, have a look at the attached file.
Remember you are unique, like everyone else
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks