Filtering columns that appear in a chart

yrpsoa

New Member
Joined
Jan 18, 2018
Messages
26
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi,

I'm trying to filter the columns that appear in a chart.

I've been through a number of methods to achieve this, but the most practical seems to be a named range using =filter(tranpose()) (and tranpose back if needs be), but what would I put in the filter argument? The cell references aren't valid anymore since it's been transposed. Don't know whether this makes it easier or harder, but the data I'm transposing is also a table...

An example would be the below, where I'd like to toggle dynamically between odd and even categories.
PersonCategory 1Category 2Category 3Category 4
Person A
Person B
Person C

something like: =filter(tranpose(table),if([tickbox]=TRUE,iseven(right(headers)*1),""))

What would the references be, once the columns become the rows?? 🤯

(This isn't the actual scenario, but serves as a good proxy)

Hope this makes sense to someone!

Any help would be much appreciated!

Thanks!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Solved, for anyone viewing this. You also have to transpose the headers eg/ filter(transpose(table),if([tickbox]=TRUE,iseven(right(headers))*1,""))
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
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