Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Filtering a detailed list

Hi folks,
I am trying to filter a list for a given list of options, I wonder if anyone
can help me.

I am an ecologist, and I am trying to search for protected species within a
huge list of species that can be found on my site. The database contains
about 7-8000 species records, and I have a separate list of about 150
protected species.

Do you know if it is possible to filter the main list for the protected
species. Ideally I would like to be left with a short list of any protected
species found on the site.

All the best!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Filtering a detailed list

I would suggest that you use a MATCH function with both workbooks open
so that in your master database you can tag those species which are
endangered. You give no details concerning the layout of data, so I
can only give you a general formula - something along these lines:

=IF(ISNA(MATCH(cell_ref,[protect.xls]sheet1!col_ref,
0)),"","protected")

where cell_ref is the sought item (species name?), protect.xls is the
filename of your list of protected species, with the data on sheet1,
and col_ref is the column that you are trying to match on. You can
copy this formula down all 8000 records in your main database once you
have substituted for your data layout.

Then you can fix the values in this column, so that you are not
dependent on the protected file anymore, and then you could apply
autofilter to the column to identify just those records with
"protected" against them.

Hope this helps.

Pete

On Feb 6, 4:11*pm, PJ O'Mahony <PJ
wrote:
Hi folks,
I am trying to filter a list for a given list of options, I wonder if anyone
can help me.

I am an ecologist, and I am trying to search for protected species within a
huge list of species that can be found on my site. The database contains
about 7-8000 species records, and I have a separate list of about 150
protected species.

Do you know if it is possible to filter the main list for the protected
species. Ideally I would like to be left with a short list of any protected
species found on the site.

All the best!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Filtering a detailed list

That's fantastic Pete, thanks for all your help, and for such a quick reply!

So if I have the list of 8000 species in Column A, and the list of protected
species in Column A of 'protect.xls', the formula in cell B2 should be:
=IF(ISNA(MATCH(A2,[protect.xls]sheet1!A, 0)),"","protected").

I should then copy that all the way down Column B, and filter Column B for
'protected'. Am I correct, have I any commas or quotes in the wrong place?

Thanks again,
Nick


"Pete_UK" wrote:

I would suggest that you use a MATCH function with both workbooks open
so that in your master database you can tag those species which are
endangered. You give no details concerning the layout of data, so I
can only give you a general formula - something along these lines:

=IF(ISNA(MATCH(cell_ref,[protect.xls]sheet1!col_ref,
0)),"","protected")

where cell_ref is the sought item (species name?), protect.xls is the
filename of your list of protected species, with the data on sheet1,
and col_ref is the column that you are trying to match on. You can
copy this formula down all 8000 records in your main database once you
have substituted for your data layout.

Then you can fix the values in this column, so that you are not
dependent on the protected file anymore, and then you could apply
autofilter to the column to identify just those records with
"protected" against them.

Hope this helps.

Pete

On Feb 6, 4:11 pm, PJ O'Mahony <PJ
wrote:
Hi folks,
I am trying to filter a list for a given list of options, I wonder if anyone
can help me.

I am an ecologist, and I am trying to search for protected species within a
huge list of species that can be found on my site. The database contains
about 7-8000 species records, and I have a separate list of about 150
protected species.

Do you know if it is possible to filter the main list for the protected
species. Ideally I would like to be left with a short list of any protected
species found on the site.

All the best!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Filtering a detailed list

Just a slight amendment:

=IF(ISNA(MATCH(A2,[protect.xls]sheet1!A:A, 0)),"","protected")

Full-column ranges are written as A:A.

If you want to fix the values after copying the formula down, just
highlight the column with the formula in by clicking on the letter at
the top of the column, then click <copy, then right-click and select
Paste Special | Values (check) | OK then <Enter. Then you don't need
to have the protect.xls file open anymore.

Good luck.

Pete

On Feb 6, 6:43*pm, PJ O''Mahony <PJ
wrote:
That's fantastic Pete, thanks for all your help, and for such a quick reply!

So if I have the list of 8000 species in Column A, and the list of protected
species in Column A of 'protect.xls', the formula in cell B2 should be:
=IF(ISNA(MATCH(A2,[protect.xls]sheet1!A, 0)),"","protected").

I should then copy that all the way down Column B, and filter Column B for
'protected'. Am I correct, have I any commas or quotes in the wrong place?

Thanks again,
Nick



"Pete_UK" wrote:
I would suggest that you use a MATCH function with both workbooks open
so that in your master database you can tag those species which are
endangered. You give no details concerning the layout of data, so I
can only give you a general formula - something along these lines:


=IF(ISNA(MATCH(cell_ref,[protect.xls]sheet1!col_ref,
0)),"","protected")


where cell_ref is the sought item (species name?), protect.xls is the
filename of your list of protected species, with the data on sheet1,
and col_ref is the column that you are trying to match on. You can
copy this formula down all 8000 records in your main database once you
have substituted for your data layout.


Then you can fix the values in this column, so that you are not
dependent on the protected file anymore, and then you could apply
autofilter to the column to identify just those records with
"protected" against them.


Hope this helps.


Pete


On Feb 6, 4:11 pm, PJ O'Mahony <PJ
wrote:
Hi folks,
I am trying to filter a list for a given list of options, I wonder if anyone
can help me.


I am an ecologist, and I am trying to search for protected species within a
huge list of species that can be found on my site. The database contains
about 7-8000 species records, and I have a separate list of about 150
protected species.


Do you know if it is possible to filter the main list for the protected
species. Ideally I would like to be left with a short list of any protected
species found on the site.


All the best!- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Filtering a detailed list

Thanks again Pete, I really appreciate your help.

All the best
Nick

"Pete_UK" wrote:

Just a slight amendment:

=IF(ISNA(MATCH(A2,[protect.xls]sheet1!A:A, 0)),"","protected")

Full-column ranges are written as A:A.

If you want to fix the values after copying the formula down, just
highlight the column with the formula in by clicking on the letter at
the top of the column, then click <copy, then right-click and select
Paste Special | Values (check) | OK then <Enter. Then you don't need
to have the protect.xls file open anymore.

Good luck.

Pete

On Feb 6, 6:43 pm, PJ O''Mahony <PJ
wrote:
That's fantastic Pete, thanks for all your help, and for such a quick reply!

So if I have the list of 8000 species in Column A, and the list of protected
species in Column A of 'protect.xls', the formula in cell B2 should be:
=IF(ISNA(MATCH(A2,[protect.xls]sheet1!A, 0)),"","protected").

I should then copy that all the way down Column B, and filter Column B for
'protected'. Am I correct, have I any commas or quotes in the wrong place?

Thanks again,
Nick



"Pete_UK" wrote:
I would suggest that you use a MATCH function with both workbooks open
so that in your master database you can tag those species which are
endangered. You give no details concerning the layout of data, so I
can only give you a general formula - something along these lines:


=IF(ISNA(MATCH(cell_ref,[protect.xls]sheet1!col_ref,
0)),"","protected")


where cell_ref is the sought item (species name?), protect.xls is the
filename of your list of protected species, with the data on sheet1,
and col_ref is the column that you are trying to match on. You can
copy this formula down all 8000 records in your main database once you
have substituted for your data layout.


Then you can fix the values in this column, so that you are not
dependent on the protected file anymore, and then you could apply
autofilter to the column to identify just those records with
"protected" against them.


Hope this helps.


Pete


On Feb 6, 4:11 pm, PJ O'Mahony <PJ
wrote:
Hi folks,
I am trying to filter a list for a given list of options, I wonder if anyone
can help me.


I am an ecologist, and I am trying to search for protected species within a
huge list of species that can be found on my site. The database contains
about 7-8000 species records, and I have a separate list of about 150
protected species.


Do you know if it is possible to filter the main list for the protected
species. Ideally I would like to be left with a short list of any protected
species found on the site.


All the best!- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Filtering a detailed list

You're welcome, Nick - thanks for feeding back.

Pete

On Feb 9, 1:09*pm, PJ O''Mahony
wrote:
Thanks again Pete, I really appreciate your help.

All the best
Nick


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 a List HomeBuyingHQ Excel Discussion (Misc queries) 2 September 24th 07 09:08 AM
Creating a Detailed List from a Summary List [email protected] Excel Worksheet Functions 0 September 7th 06 12:36 AM
How- seperate a combined list by filtering out first list of names Briana Excel Worksheet Functions 1 March 21st 06 03:16 PM
Auto filtering vs Date List Create List torajudo Excel Worksheet Functions 2 January 29th 06 10:30 AM
trouble filtering a list. Why isn't column filtering? Pat Excel Worksheet Functions 1 July 18th 05 03:30 PM


All times are GMT +1. The time now is 12:05 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"