How to include only specific columns as axis categories from an Excel Table

Super User Asked on October 31, 2020

I am familiar with Excel Tables, Pivot and so on.. but one tricky thing, how can I hide a column in the Table and also have that column not used as a category in my chart?

Excel has a solution by using Pivot as the best option, or without Table format.

Is there any other way?

For instance I would like to hide column B in my screenshot and not show those values in my chart. I don’t want to delete that column.

p.s. Once when the data is hidden, still you can see them actually on chart. I dont need only on my sheet hidden but on Charts too.

enter image description here

This is just a sample of my data. The full table is larger.

One Answer

If you don't want to use a pivot, change the order of your columns so you can select just the columns you want. Cut the third column and insert it next to the first column. Then create the chart by just selecting the first, second and third columns.

enter image description here

Unfortunately with multi-level axis categories like this, I believe you can only control the vertical alignment of the inner-most axis. So, you can rotate the D1 column but not the Date, unless you put D1 to the left of Date in your data table.

PivotChart will give you more control over the formatting for nested categories.


It occurred to me that you could concatenate (join) the columns you want to use into a single column for the category. Then you would be able to rotate the whole thing:

=TEXT([@DATE],"dd/mm/yy")&" "&[@D1]

enter image description here

Correct answer by FlexYourData on October 31, 2020

Add your own answers!

Related Questions

Ping between subnets fails inconsistently

1  Asked on January 30, 2021 by kaybee


Set shortcut for eyedropper (color picker) in firefox

1  Asked on January 28, 2021 by persijn


Removing GRUB from a dual-boot setup

6  Asked on January 28, 2021 by user3409878


Why would DHCP fail so often on a domestic network?

1  Asked on January 28, 2021 by coli


Executing script only on terminal startup with tmux

0  Asked on January 27, 2021 by gilbertohasnofb


Big Sur Beta 2 and 3 Bluetooth issues

0  Asked on January 27, 2021 by jnbn


What types of Ethernet cables are there?

3  Asked on January 27, 2021


Bing Food & Drink app always crashes

0  Asked on January 27, 2021 by brillydev


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP