How can I hide 0% value in data labels in an Excel Bar Chart
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I would like to hide data labels on a chart that have 0% as a value. I can get it working when the value is a number and not a percentage. I could delete the 0% but the data is going to change on a daily basis.
I am doing a if statement to calculate which column to put the data into.Data is shown below
I have 2 bars one green and one red. When the value is above 8% the red bar shows and when the value is below 8%. At one time i can only show one bar. I would like to hide the 0% as the bar isnt being show.
microsoft-excel microsoft-excel-2010 charts
add a comment |
I would like to hide data labels on a chart that have 0% as a value. I can get it working when the value is a number and not a percentage. I could delete the 0% but the data is going to change on a daily basis.
I am doing a if statement to calculate which column to put the data into.Data is shown below
I have 2 bars one green and one red. When the value is above 8% the red bar shows and when the value is below 8%. At one time i can only show one bar. I would like to hide the 0% as the bar isnt being show.
microsoft-excel microsoft-excel-2010 charts
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48
add a comment |
I would like to hide data labels on a chart that have 0% as a value. I can get it working when the value is a number and not a percentage. I could delete the 0% but the data is going to change on a daily basis.
I am doing a if statement to calculate which column to put the data into.Data is shown below
I have 2 bars one green and one red. When the value is above 8% the red bar shows and when the value is below 8%. At one time i can only show one bar. I would like to hide the 0% as the bar isnt being show.
microsoft-excel microsoft-excel-2010 charts
I would like to hide data labels on a chart that have 0% as a value. I can get it working when the value is a number and not a percentage. I could delete the 0% but the data is going to change on a daily basis.
I am doing a if statement to calculate which column to put the data into.Data is shown below
I have 2 bars one green and one red. When the value is above 8% the red bar shows and when the value is below 8%. At one time i can only show one bar. I would like to hide the 0% as the bar isnt being show.
microsoft-excel microsoft-excel-2010 charts
microsoft-excel microsoft-excel-2010 charts
asked Sep 3 '14 at 10:22
InkeyInkey
1211210
1211210
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48
add a comment |
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48
add a comment |
3 Answers
3
active
oldest
votes
The quick and easy way to accomplish this is to custom format your data label.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter
0%;-0%;
and click Add. - Close out of your dialog box and your 0% labels should be gone.
This works because Excel looks to your custom format to see how to format Postive;Negative;0
values. By leaving a blank after the final ;
, Excel formats any 0 value as a blank.
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
add a comment |
If using Office 2013 or later, type the format as mentioned above by Dav and Erik combined, i.e.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter 0%;-0%; "" and click Add.
- After this, select the newly added format in the Type box.
- Close out of your dialog box and your 0% labels should be gone.
add a comment |
You can also set the =NA()
value in your empty Cells.
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
add a comment |
protected by Community♦ Feb 1 at 23:00
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The quick and easy way to accomplish this is to custom format your data label.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter
0%;-0%;
and click Add. - Close out of your dialog box and your 0% labels should be gone.
This works because Excel looks to your custom format to see how to format Postive;Negative;0
values. By leaving a blank after the final ;
, Excel formats any 0 value as a blank.
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
add a comment |
The quick and easy way to accomplish this is to custom format your data label.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter
0%;-0%;
and click Add. - Close out of your dialog box and your 0% labels should be gone.
This works because Excel looks to your custom format to see how to format Postive;Negative;0
values. By leaving a blank after the final ;
, Excel formats any 0 value as a blank.
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
add a comment |
The quick and easy way to accomplish this is to custom format your data label.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter
0%;-0%;
and click Add. - Close out of your dialog box and your 0% labels should be gone.
This works because Excel looks to your custom format to see how to format Postive;Negative;0
values. By leaving a blank after the final ;
, Excel formats any 0 value as a blank.
The quick and easy way to accomplish this is to custom format your data label.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter
0%;-0%;
and click Add. - Close out of your dialog box and your 0% labels should be gone.
This works because Excel looks to your custom format to see how to format Postive;Negative;0
values. By leaving a blank after the final ;
, Excel formats any 0 value as a blank.
answered Sep 3 '14 at 12:20
davdav
7,75532243
7,75532243
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
add a comment |
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
1
1
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
Note that this doesn't help if you want to have your labels also include Category/Series name in addition to the values (not the case for OP but I was looking to do this and it looks like I will not be able to).
– Dan Henderson
Feb 16 '16 at 19:58
add a comment |
If using Office 2013 or later, type the format as mentioned above by Dav and Erik combined, i.e.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter 0%;-0%; "" and click Add.
- After this, select the newly added format in the Type box.
- Close out of your dialog box and your 0% labels should be gone.
add a comment |
If using Office 2013 or later, type the format as mentioned above by Dav and Erik combined, i.e.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter 0%;-0%; "" and click Add.
- After this, select the newly added format in the Type box.
- Close out of your dialog box and your 0% labels should be gone.
add a comment |
If using Office 2013 or later, type the format as mentioned above by Dav and Erik combined, i.e.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter 0%;-0%; "" and click Add.
- After this, select the newly added format in the Type box.
- Close out of your dialog box and your 0% labels should be gone.
If using Office 2013 or later, type the format as mentioned above by Dav and Erik combined, i.e.
- Select a data label.
- Right click and select Format Data Labels
- Choose the Number category in the Format Data Labels dialog box.
- Select Custom in the Category box.
- In the format code box, enter 0%;-0%; "" and click Add.
- After this, select the newly added format in the Type box.
- Close out of your dialog box and your 0% labels should be gone.
edited Jul 24 '18 at 13:14
robinCTS
4,03741527
4,03741527
answered Jul 24 '18 at 9:40
Ever NeelEver Neel
111
111
add a comment |
add a comment |
You can also set the =NA()
value in your empty Cells.
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
add a comment |
You can also set the =NA()
value in your empty Cells.
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
add a comment |
You can also set the =NA()
value in your empty Cells.
You can also set the =NA()
value in your empty Cells.
answered Sep 3 '14 at 12:23
robertrobert
19614
19614
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
add a comment |
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
1
1
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
The chart shows #N/A
– Inkey
Sep 3 '14 at 12:38
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
I was thinking more for the data-values than the labels.
– robert
Sep 3 '14 at 12:39
add a comment |
protected by Community♦ Feb 1 at 23:00
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
You must have two columns for the data to show like this. In your source data, create a statement that if the result is zero to replace it with "#N/A"
– wbeard52
Sep 3 '14 at 13:48