Hello,
I'm trying to change the color of data labels in a pie chart according to the percentage value. e.g. If =< 5%, then Black, If >5%, then White
After some research I tried entering a custom format code in the 'Number' category under 'Format Data Labels', but this didn't work: [Black][=<0.05]0%;[White][>0.05]0%
Are there any other options to accomplish what I am trying to achieve? I'm open to VBA also if it makes it easier.
Thanks.
I'm trying to change the color of data labels in a pie chart according to the percentage value. e.g. If =< 5%, then Black, If >5%, then White
After some research I tried entering a custom format code in the 'Number' category under 'Format Data Labels', but this didn't work: [Black][=<0.05]0%;[White][>0.05]0%
Are there any other options to accomplish what I am trying to achieve? I'm open to VBA also if it makes it easier.
Thanks.