Colour Scale groups of values according to their category

Centre13

New Member
Joined
Apr 10, 2013
Messages
14
Hi - I have a column of figures and I want to colour scale them. However I need a formula that colour scales the groups seperately. i.e. the traders are colour scaled within the trader group and the salesman are coloured scaled in their group.

Any help would be much appreciated.

Example: $
Trader 100
Trader 150
Trader 200
Trader 250
Salesman 100
Salesman 75
Salesman 60
Salesman 50​
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Lets suppose your measures are called [Sales] and [Trader]

If you convert those measures into CUBEVALUES, you can have them mirror the data in your Pivot and have them be controlled with the slicers as well.

You can "hide" those CUBEVALUES somewhere in your sheet out of view and then reference the cell in the Conditional formatting box.

This way if you want Red anything over whatever the values are based on slicer selection, your conditional formatting will work.

Two pivots, both controlled by the same slicers, one converted to CUBE VALUES and hidden, reference those cells in your conditional formatting on the "main" pivot

To directly answer your question, convert (or write, the synatax is sort of easier once you get the hang of it) any and all measures that you want to base your Conditional Formatting on.

Clearer?

Coffee still kicking in...
 
Upvote 0
wow never new these Cube formulas existed. manyt thanks. Believe this is a better way to create the dashboard I need as opposed to a Pivot table. I converted my pivot table to formulas. How do you add a column to be referred to if you forgot to put it in the original pivot table?
 
Upvote 0
You need to fully shape your table before converting it. Once you convert, it's stuck in CUBELAND.

You can do some very powerful things using all of it in combination...

Some articles here, I'm sure would interest you.

searchresults « PowerPivotPro
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top