Technology Get the latest on technology, electronics and software…

Excel question: how to filter...

Thread Tools
 
Old May 25, 2005 | 02:56 PM
  #1  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
Excel question: how to filter...

I want to filter out so I only have rows that have the same street name and the same st. no.
An example of what I am talking about is highlighted in yellow

How do I do this?
Reply
Old May 25, 2005 | 02:59 PM
  #2  
moeronn's Avatar
is learning to moonwalk i
 
Joined: Feb 2004
Posts: 15,520
Likes: 3
From: SoCal
Are you trying to only display that information or just organize it like that? If you are trying to just organize it Tools>Sort and choose the columns to sort by. If you're trying to only display that info, then maybe a query?
Reply
Old May 25, 2005 | 03:02 PM
  #3  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
i want to display ONLY that info. I already know how to sort, but I dont want any 'uniques' I only want rows that have the same st. no 2+ the same.. not sure if I am explaining myself correctly
Reply
Old May 25, 2005 | 03:02 PM
  #4  
Teh Jatt's Avatar
The Oracle of Acurazine!
 
Joined: Nov 2003
Posts: 28,706
Likes: 44
From: Fresno, CA
Data > Filter > Advanced Filter



I learned to that in my computer class, and I already forgot.
Reply
Old May 25, 2005 | 03:04 PM
  #5  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
or.....

Data > Filter > Autofilter > pick the two that you are looking for from the dropdown in each column
Reply
Old May 25, 2005 | 03:09 PM
  #6  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
I am not looking for only TWO... I want it to display ALL the rows that have the same street name and st. no.
This list is 11000+ rows long... so using an autofilter would be tedious
Reply
Old May 25, 2005 | 03:25 PM
  #7  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
Originally Posted by rise
I am not looking for only TWO... I want it to display ALL the rows that have the same street name and st. no.
This list is 11000+ rows long... so using an autofilter would be tedious


two, as in the two parameters you want to set - the 1) street name and 2) street number
Reply
Old May 25, 2005 | 03:37 PM
  #8  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
yes, but I want it to display ALL rows that share the same number same st. name.

perhaps I'm not explaining what I want...I want the spreadsheet to display all the GROUPS of addresses. I dont want any unique addresses.
Reply
Old May 25, 2005 | 03:45 PM
  #9  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach


ha, it was your picture that made me think something different.... so you want it to group all addresses together like what you've highlighted.

Perhaps a pivot table would work best.
Reply
Old May 25, 2005 | 03:57 PM
  #10  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
omg my brain is about to explode
Reply
Old May 25, 2005 | 04:03 PM
  #11  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
If you're basically looking to eliminate rows where that address is the only time it appears in the list, then I don't think you can do that in excel without it being a tedious process.
Reply
Old May 25, 2005 | 04:05 PM
  #12  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
yes thats exactly what I want... there's gotta be a way!

if i get fired for not being able to do it...i'm blaming you guys.
Reply
Old May 25, 2005 | 04:12 PM
  #13  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
I have an idea, but I'm not sure how well it will work for 11k rows...
Reply
Old May 25, 2005 | 04:13 PM
  #14  
JimmyCarter's Avatar
likes it raw
 
Joined: Jan 2005
Posts: 10,133
Likes: 1
From: 42.4°N, 71.1°W
First sort them like you have now.
In a separate column write an "if" formula like:
=if(f7=f6,if(g7=g6,1,0),0)
This will give a 1 in every column with a unique street name. Then sort by that column, so all the ones are at the top and you can separate them from the others.
Reply
Old May 25, 2005 | 04:16 PM
  #15  
Billiam's Avatar
Big Block go VROOOM!
 
Joined: Oct 2003
Posts: 8,578
Likes: 1
From: Chicago Burbs
Isn't this why databases were invented?
Reply
Old May 25, 2005 | 04:17 PM
  #16  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
First sort them so that they are grouped together appropriately...

then use the "OR" formula (formulas > logical > OR) in a blank column and set it so that the street number must equal the cell below it OR the cell above it...

This will return a value of FALSE for every row that is unique. Then just sort by that column and delete the rows with FALSE in them.
Reply
Old May 25, 2005 | 04:18 PM
  #17  
JimmyCarter's Avatar
likes it raw
 
Joined: Jan 2005
Posts: 10,133
Likes: 1
From: 42.4°N, 71.1°W
Originally Posted by Billiam
Isn't this why databases were invented?
but this is one of those borderline projects that is probably easier to do in excel anyway.
Reply
Old May 25, 2005 | 04:25 PM
  #18  
Brewmaster's Avatar
I'm Baaack!
 
Joined: Sep 2004
Posts: 1,281
Likes: 0
From: Newark, Delaware
Originally Posted by JimmyCarter
First sort them like you have now.
In a separate column write an "if" formula like:
=if(f7=f6,if(g7=g6,1,0),0)
This will give a 1 in every column with a unique street name. Then sort by that column, so all the ones are at the top and you can separate them from the others.
Prob with this formula is you'll lose the first row that is the same too (f7) even though it's not unique, it isn't the same as the one above ...

You'd be much better off importing this into Access and run a quick query. It'll be quicker than trying to get excel to do the same thing
Reply
Old May 25, 2005 | 04:25 PM
  #19  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
Originally Posted by ccannizz11
First sort them so that they are grouped together appropriately...

then use the "OR" formula (formulas > logical > OR) in a blank column and set it so that the street number must equal the cell below it OR the cell above it...

This will return a value of FALSE for every row that is unique. Then just sort by that column and delete the rows with FALSE in them.
BRILLIANT!
thanks!!!!

ccanniz11=Official AZ Excel pro!
Reply
Old May 25, 2005 | 04:27 PM
  #20  
Brewmaster's Avatar
I'm Baaack!
 
Joined: Sep 2004
Posts: 1,281
Likes: 0
From: Newark, Delaware
Originally Posted by ccannizz11
First sort them so that they are grouped together appropriately...

then use the "OR" formula (formulas > logical > OR) in a blank column and set it so that the street number must equal the cell below it OR the cell above it...

This will return a value of FALSE for every row that is unique. Then just sort by that column and delete the rows with FALSE in them.
Nice ...
Reply
Old May 25, 2005 | 04:30 PM
  #21  
ccannizz11's Avatar
My Work is Done Here
 
Joined: Jun 2004
Posts: 11,134
Likes: 2
From: Still too far from the beach
Originally Posted by rise
ccanniz11=Official AZ Excel pro!
whoa there!! keep that on the DL

It took me a while to understand what you were asking for, but I finally got it.... good thing I don't have any work to do.


always glad to help out
Reply
Old May 25, 2005 | 04:33 PM
  #22  
JimmyCarter's Avatar
likes it raw
 
Joined: Jan 2005
Posts: 10,133
Likes: 1
From: 42.4°N, 71.1°W
Originally Posted by Brewmaster
Prob with this formula is you'll lose the first row that is the same too (f7) even though it's not unique, it isn't the same as the one above ...

You'd be much better off importing this into Access and run a quick query. It'll be quicker than trying to get excel to do the same thing
Just ran through it quickly in my head- I was thinking "groups" since that was what he mentioned, forgot about the solo rows.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
08_UA7_Gr33k
Member Cars for Sale
13
Feb 11, 2016 02:17 PM
InFaMouSLink
Car Parts for Sale
6
Oct 27, 2015 06:52 PM
KBTypeS
3G TL Performance Parts & Modifications
25
Oct 1, 2015 04:49 PM
08_UA7_Gr33k
Member Cars for Sale
1
Sep 27, 2015 01:56 PM
rboller
3G TL Audio, Bluetooth, Electronics & Navigation
0
Sep 23, 2015 02:49 PM




All times are GMT -5. The time now is 07:21 AM.