dynamic filter header

JugglerJAF

Active Member
Joined
Feb 17, 2002
Messages
297
Office Version
  1. 365
Platform
  1. Windows
Hi folks, I've been playing around with the dynamic filter function, and have noticed what appears to be some inconsistent behaviour...

Sometimes when using the filter function, the results usually return just the values under each header from the source, but occasionally they do return the header row as well.

It doesn't seem to make any difference if the source is set up as a table or just a range, or if I use relative or absolute cell references. I do have the "use table names in formulas" setting turned off as I absolutely detest that "feature" (I think it makes formulas harder to read, not easier!)

The headers don't usually get returned, but every now and then they do and there doesn't seem to be any logic or consistency behind whether the headers are returned or not and I'd like to be able to choose to include or exclude them rather than having it "random".

Is there any way to specifically structure the formula, or the data to ensure that the header values are returned by the dynamic filter function?

Example below:

filter - no header row.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about
Excel Formula:
=FILTER(A1:E31,(D1:D31="alpha")+(D1:D31="department"))
 
Upvote 0
You're welcome & thanks for the feedback.

I would also suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,742
Members
448,989
Latest member
mariah3

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