ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Best Way for Multiple Criteria to Show From a Filter (https://www.excelbanter.com/excel-discussion-misc-queries/172467-best-way-multiple-criteria-show-filter.html)

prana1

Best Way for Multiple Criteria to Show From a Filter
 
Hi all,

I would like to select multiple results within a filter within a spreadsheet
with multiple columns.

There are three ways that I know of the create a custom filter:

I can use the AutoFilter option and use the dropdowns to filter out one item
at a time. €“ too few.

I also can create a Pivot Table, pull all the columns over, and then use the
drop downs to choose multiple results. A lot of work, as I am creating the
pivot table just so I can select choose multiple dropdown options.

I can create a custom filter, and select at most 2 results using the And/Or
command, but no more.

Does anyone know if there is there a way to filter out more than 2 options,
and not have to go to the trouble to create a pivot table?


Thanks,

Eric in FL


Bob Phillips

Best Way for Multiple Criteria to Show From a Filter
 
Add a helper column with a conditional formula that returns TRUE for rows
that meet those 2 criteria, and filter on that column.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"prana1" wrote in message
...
Hi all,

I would like to select multiple results within a filter within a
spreadsheet
with multiple columns.

There are three ways that I know of the create a custom filter:

I can use the AutoFilter option and use the dropdowns to filter out one
item
at a time. - too few.

I also can create a Pivot Table, pull all the columns over, and then use
the
drop downs to choose multiple results. A lot of work, as I am creating
the
pivot table just so I can select choose multiple dropdown options.

I can create a custom filter, and select at most 2 results using the
And/Or
command, but no more.

Does anyone know if there is there a way to filter out more than 2
options,
and not have to go to the trouble to create a pivot table?


Thanks,

Eric in FL




Gary''s Student

Best Way for Multiple Criteria to Show From a Filter
 
I use a helper column.

Say column A has a long list of animals and we want the filter to display
all rows with either dog, cat, or bird.

In the helper column, say Z2, enter:

=IF(OR(A2="dog",A2="cat",A2="bird"),1,0) and copy down

By applying AutoFilter to column Z you can select all rows meeting the "OR"
condition.
--
Gary''s Student - gsnu200764


"prana1" wrote:

Hi all,

I would like to select multiple results within a filter within a spreadsheet
with multiple columns.

There are three ways that I know of the create a custom filter:

I can use the AutoFilter option and use the dropdowns to filter out one item
at a time. €“ too few.

I also can create a Pivot Table, pull all the columns over, and then use the
drop downs to choose multiple results. A lot of work, as I am creating the
pivot table just so I can select choose multiple dropdown options.

I can create a custom filter, and select at most 2 results using the And/Or
command, but no more.

Does anyone know if there is there a way to filter out more than 2 options,
and not have to go to the trouble to create a pivot table?


Thanks,

Eric in FL


prana1

Best Way for Multiple Criteria to Show From a Filter
 
This is good. Is there a way to create a combo box or something like that?
This is for my boss here at work, and he wanted something simple to use.

"Gary''s Student" wrote:

I use a helper column.

Say column A has a long list of animals and we want the filter to display
all rows with either dog, cat, or bird.

In the helper column, say Z2, enter:

=IF(OR(A2="dog",A2="cat",A2="bird"),1,0) and copy down

By applying AutoFilter to column Z you can select all rows meeting the "OR"
condition.
--
Gary''s Student - gsnu200764


"prana1" wrote:

Hi all,

I would like to select multiple results within a filter within a spreadsheet
with multiple columns.

There are three ways that I know of the create a custom filter:

I can use the AutoFilter option and use the dropdowns to filter out one item
at a time. €“ too few.

I also can create a Pivot Table, pull all the columns over, and then use the
drop downs to choose multiple results. A lot of work, as I am creating the
pivot table just so I can select choose multiple dropdown options.

I can create a custom filter, and select at most 2 results using the And/Or
command, but no more.

Does anyone know if there is there a way to filter out more than 2 options,
and not have to go to the trouble to create a pivot table?


Thanks,

Eric in FL



All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com