Graph X-Axis Remove Zero Values

nature98

New Member
Joined
Feb 3, 2024
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hey Guys,

I have a bar chart with an x-axis that identities employee names. The range of cells selected for employee names is 15. I want this chart to be dynamic which if I only have 10 employees entered (while range of cells selected is still 15) the bar chart would change accordingly. However, it shows a zero value on the x-axis when the cell is blank, not showing employee name. What are the correct settings to do this where the values are not shown and the chart expands when I add employees to the blank cells?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You would need to add =NA() to the spots that are blank/0. Maybe create a helper column to achieve this.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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