Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Filtering one or more items in 2 columns

Is it possible to do the equivalent of this with data in a worksheet?

I want to be able to select one or more values from two different columns.

For example , in a State Column, I want to be able to select NY, HI, CA
and in a Grocery Store Column, I want to be able to select, Safeway and
Lucky's

However, when I apply an advanced filter, selecting NY, HI, and CA, I find
that I am getting other Grocery stores, simply because the advanced filter
wants to give me EVERYTHING from NY, HI and CA regardless of my 2nd column
criteria.

Essentially, I want to be able to say something like State IN("NY", "HI",
"CA") AND [Grocery Store] IN("Safeway", "Lucky's")

Why can't I just hook it up to some external data - you ask? Because I
won't have the option to setup an external data source for this Application.




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Filtering one or more items in 2 columns

I'd start at Debra Dalgleish's site:
http://contextures.com/xladvfilter01.html
Look for the:
Setting up the Criteria Range
AND vs OR
section.

jonefer wrote:

Is it possible to do the equivalent of this with data in a worksheet?

I want to be able to select one or more values from two different columns.

For example , in a State Column, I want to be able to select NY, HI, CA
and in a Grocery Store Column, I want to be able to select, Safeway and
Lucky's

However, when I apply an advanced filter, selecting NY, HI, and CA, I find
that I am getting other Grocery stores, simply because the advanced filter
wants to give me EVERYTHING from NY, HI and CA regardless of my 2nd column
criteria.

Essentially, I want to be able to say something like State IN("NY", "HI",
"CA") AND [Grocery Store] IN("Safeway", "Lucky's")

Why can't I just hook it up to some external data - you ask? Because I
won't have the option to setup an external data source for this Application.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Filtering one or more items in 2 columns

On 12 Feb, 09:35, jonefer wrote:
Is it possible to do the equivalent of this with data in a worksheet?

I want to be able to select one or more values from two different columns.

For example , in a State Column, I want to be able to select NY, HI, CA
and in a Grocery Store Column, I want to be able to select, Safeway and
Lucky's

However, when I apply an advanced filter, selecting NY, HI, and CA, I find
that I am getting other Grocery stores, simply because the advanced filter
wants to give me EVERYTHING from NY, HI and CA regardless of my 2nd column
criteria.

Essentially, I want to be able to say something like State IN("NY", "HI",
"CA") AND [Grocery Store] IN("Safeway", "Lucky's") *

Why can't I just hook it up to some external data - you ask? *Because I
won't have the option to setup an external data source for this Application.

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
filtering in a worksheet and then cut items out i lose unfiltered Rhonitee Excel Discussion (Misc queries) 1 October 13th 08 11:15 PM
line up items in column a with items in columns b, c, etc meera123 Excel Discussion (Misc queries) 0 September 2nd 08 02:20 PM
Filtering for Like Items in a Column Doug C Excel Discussion (Misc queries) 1 February 24th 07 08:42 PM
filtering to show items in a listbox eileenj Excel Discussion (Misc queries) 1 August 11th 06 01:30 PM
Filtering by Columns carl Excel Worksheet Functions 1 May 4th 05 09:01 PM


All times are GMT +1. The time now is 10:19 PM.

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

About Us

"It's about Microsoft Excel"