Technology Get the latest on technology, electronics and software…

EXCEL help - Q on filtering data

Thread Tools
 
Old 03-31-2005, 01:24 PM
  #1  
Suzuka Master
Thread Starter
 
rise's Avatar
 
Join Date: Jul 2001
Posts: 6,010
Likes: 0
Received 1 Like on 1 Post
EXCEL help - Q on filtering data

Question:
How do I filter out rows that start where the first column is: AC, AK, BY, CE, CM and so forth?
In other words, I want to group the data by rows, but the rows are distributed throughout.
I tried to use the auto-filter and then CONTAINS, but then I am only limited to 2 criteria.


tia
Old 03-31-2005, 01:29 PM
  #2  
Team Anthracite Member
 
tlguy99's Avatar
 
Join Date: May 2004
Location: The OC, CA
Age: 43
Posts: 788
Likes: 0
Received 0 Likes on 0 Posts
Try sorting the rows by column A. That would group them my the route. Is that what you are looking for?

Select the group of data you want to sort ie A1 through I?? then Data->Sort->Sort by Column A->ok
Old 03-31-2005, 01:33 PM
  #3  
likes it raw
 
JimmyCarter's Avatar
 
Join Date: Jan 2005
Location: 42.4°N, 71.1°W
Posts: 10,133
Likes: 0
Received 1 Like on 1 Post
Or maybe an HLOOKUP?
Old 03-31-2005, 01:35 PM
  #4  
Az User
 
03SSMTL-S's Avatar
 
Join Date: Feb 2005
Location: parts unknown
Age: 45
Posts: 12,492
Received 2,486 Likes on 1,645 Posts
i suck at excel i can barely print things right
Old 03-31-2005, 01:50 PM
  #5  
Suzuka Master
Thread Starter
 
rise's Avatar
 
Join Date: Jul 2001
Posts: 6,010
Likes: 0
Received 1 Like on 1 Post
Originally Posted by tlguy99
Try sorting the rows by column A. That would group them my the route. Is that what you are looking for?

Select the group of data you want to sort ie A1 through I?? then Data->Sort->Sort by Column A->ok
No, I do not want to sort. I want it to filter out the Routes I want.
For example, I want to only the routes
CT
MT
PG
PT
SL
SS
to show up. and then do it all over again for a different group of routes. How would I do this?


JC, what is HLookup?

Last edited by rise; 03-31-2005 at 01:53 PM.
Old 03-31-2005, 02:03 PM
  #6  
Team Anthracite Member
 
tlguy99's Avatar
 
Join Date: May 2004
Location: The OC, CA
Age: 43
Posts: 788
Likes: 0
Received 0 Likes on 0 Posts
Then, yes, HLookup will work.
Old 03-31-2005, 02:09 PM
  #7  
likes it raw
 
JimmyCarter's Avatar
 
Join Date: Jan 2005
Location: 42.4°N, 71.1°W
Posts: 10,133
Likes: 0
Received 1 Like on 1 Post
Originally Posted by rise
No, I do not want to sort. I want it to filter out the Routes I want.
For example, I want to only the routes
CT
MT
PG
PT
SL
SS
to show up. and then do it all over again for a different group of routes. How would I do this?


JC, what is HLookup?
Hlookup is a function that when run matches your set criteria to an item in a certain column, then returns a specified value from a column in the same row as the item. Kinda complicated to explain, and the Excel help file would probably be a better guide.

I'd actually use a Pivot table if I were you, but thats even harder to explain the setup of than the Hlookup function. I suggest going into excel help - check pivot tables out if you want. It's a pretty useful thing to know
Old 03-31-2005, 02:16 PM
  #8  
Suzuka Master
Thread Starter
 
rise's Avatar
 
Join Date: Jul 2001
Posts: 6,010
Likes: 0
Received 1 Like on 1 Post
Sounds like Hlookup would only display a value, but I am looking to be able to see the whole row.

I'll check out what a Pivot table is, thanks
Old 03-31-2005, 02:40 PM
  #9  
Suzuka Master
Thread Starter
 
rise's Avatar
 
Join Date: Jul 2001
Posts: 6,010
Likes: 0
Received 1 Like on 1 Post
Thanks JC

I think a pivot table helped much more than trying to figure out how to get HLookup to do what I want.

Now I just gotta find a way to keep this pivot table as a "template" that I can copy over to a new workbook whenever I get emailed a new workbook.

Here's what it looks like so far:
Old 03-31-2005, 02:42 PM
  #10  
likes it raw
 
JimmyCarter's Avatar
 
Join Date: Jan 2005
Location: 42.4°N, 71.1°W
Posts: 10,133
Likes: 0
Received 1 Like on 1 Post
Originally Posted by rise
Thanks JC

I think a pivot table helped much more than trying to figure out how to get HLookup to do what I want.

Now I just gotta find a way to keep this pivot table as a "template" that I can copy over to a new workbook whenever I get emailed a new workbook.

Here's what it looks like so far:

Good luck with everything
Old 03-31-2005, 02:53 PM
  #11  
Drifting
 
Rock2534's Avatar
 
Join Date: Dec 2002
Location: Lehigh Valley, PA
Age: 49
Posts: 2,619
Received 15 Likes on 15 Posts
Originally Posted by rise
Thanks JC

I think a pivot table helped much more than trying to figure out how to get HLookup to do what I want.

Now I just gotta find a way to keep this pivot table as a "template" that I can copy over to a new workbook whenever I get emailed a new workbook.

Here's what it looks like so far:
just save it as your template now, and when you get new data, copy that data into the template and refresh the pivot table. that will save you from recreating it everytime.
Old 03-31-2005, 02:54 PM
  #12  
Suzuka Master
Thread Starter
 
rise's Avatar
 
Join Date: Jul 2001
Posts: 6,010
Likes: 0
Received 1 Like on 1 Post
Thanks, everyone.
that's what I'll do from now on.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
rcs86
Car Parts for Sale
3
08-02-2016 06:52 PM
knight rider
Car Talk
9
03-04-2016 08:59 AM
InFaMouSLink
Car Parts for Sale
6
10-27-2015 06:52 PM
LeVeL
3G TL (2004-2008)
38
10-18-2015 04:19 PM
steve
2G TL (1999-2003)
5
09-30-2015 09:23 PM



Quick Reply: EXCEL help - Q on filtering data



All times are GMT -5. The time now is 03:40 AM.