I have a crosstab that shows the number of patients referred by outside clinics.
The columns show the year, the rows show the name of the clinic who referred us the patients. Example:
2013 | 2014 | 2015 | |
---|---|---|---|
Clinic 1 | 5 | 10 | 8 |
Clinic 2 | 2 | 6 | 12 |
Clinic 3 | 1 | 2 | 1 |
I need a format field formula that will look at the value (count of patients) in the "newest year", 2015, and compare that value to the column adjacent to the left, the "previous year", 2014. (There will be previous years shown in the crosstab - columns to the left - but we do not want these involved in the comparisons.)
After comparing the two values, if the number has increased by 1 to 4% highlight light green, if increased by 5% or greater highlight green.
Also, if the value has decreased by 1 to 4% highlight pink, decreased by 5% or greater highlight red.
Any help is appreciated!