ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Statement in Charts (https://www.excelbanter.com/excel-worksheet-functions/54920-conditional-statement-charts.html)

smck

Conditional Statement in Charts
 
I create several charts to compare various volumes of data. Presently, if the
data is negative, I manually change the color of the bars to Orange. I would
like to write a conditional statement to automate this.

Any help is greatly appreciated.

Thanks,
smck

Andy Pope

Conditional Statement in Charts
 
Hi,

No need for code. See my explanation of how to get Invert if negative to
work for you.
http://www.andypope.info/charts/Invertneg.htm

Cheers
Andy

smck wrote:
I create several charts to compare various volumes of data. Presently, if the
data is negative, I manually change the color of the bars to Orange. I would
like to write a conditional statement to automate this.

Any help is greatly appreciated.

Thanks,
smck


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

smck

Conditional Statement in Charts
 
Hello Andy, this is exactly what I needed--thank you so much for your help;
also for the link you provided.

"Andy Pope" wrote:

Hi,

No need for code. See my explanation of how to get Invert if negative to
work for you.
http://www.andypope.info/charts/Invertneg.htm

Cheers
Andy

smck wrote:
I create several charts to compare various volumes of data. Presently, if the
data is negative, I manually change the color of the bars to Orange. I would
like to write a conditional statement to automate this.

Any help is greatly appreciated.

Thanks,
smck


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info



All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com