Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter a range of data with multiple criteria NeedExcelHelp07 Excel Discussion (Misc queries) 6 September 1st 07 02:13 AM
Multiple criteria options determine which name to show as result. Twishlist Excel Worksheet Functions 1 April 10th 07 09:05 AM
Advanced Filter for multiple criteria, including blank cells Striperon Excel Worksheet Functions 3 November 9th 06 06:33 PM
Create macro to filter on multiple criteria csdjj021191 Excel Worksheet Functions 7 October 3rd 06 01:52 PM
How do I show number of records that meet criteria filter CliffD Excel Discussion (Misc queries) 3 August 22nd 05 01:10 PM


All times are GMT +1. The time now is 03:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"