Jan 17 2019 02:24 PM
Hello!
I'd like to create an overall manpower chart with coloured symbols to give an at a glance idea of whether the staff is
1. working from office (dark green)
2. working from home (light green)
3. not available.
Currently i have a helper cell where i can quickly type out "O", "H", "X" but i'd like my display cell to convert this into an appropriate coloured block which is visually more appealing.
Typical weeks might be
1. OOOOO - working in office for 5 days - solid dark green block
2. HHOOX - work two days from home, two days in office and not available - Light green x 2 blocks, Dark green x 2 blocks and a red block.
Visual example attached.
Currently i am formatting the display cell manually, but as staff movement changes its quite tedious.
I would have done a unique cell for each day but it makes for a long table so went with the incell approach.
Any help would be appreciated.
Jan 17 2019 03:09 PM
Hi,
The conditional formatting rule could be like
The key point, if your range starts from B1 in the rule you shall use B2 (next row and relative references). Please check attached.
Jan 17 2019 07:30 PM
Thanks Sergei.
I was avoiding putting each day in a column since i have
1. other references in cells above which breaks up into non adjacent cells
2. there are numerous days that i have to consider in the programme.
Can you suggest any other way that makes in cell with 5 block symbols to indicate days... that would really help!
thanks
M
Jan 18 2019 03:47 AM
SolutionI guess that's only with VBA programming. As variant the code will analyse the cell below, depends on combination of symbols combine Wingding font blocks with their own colors into one text and return it to your cell, formatting it as Wingding.
Jan 18 2019 04:18 AM
Hi,
You can create something like the attached and you won't need to have helper rows.
Hope that helps.
Kind regards
Jan 18 2019 04:23 AM
As I understood that shall be 5 different colors blocks in ONE cell which covers entire week. One cell - one week - 5 colors.
Jan 18 2019 06:11 AM
Jan 18 2019 03:47 AM
SolutionI guess that's only with VBA programming. As variant the code will analyse the cell below, depends on combination of symbols combine Wingding font blocks with their own colors into one text and return it to your cell, formatting it as Wingding.