Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Alphanumeric Filter Criteria

I have data on which the filter criteria will be Field 1 , Field 2, Field 3, and so on.
The problem is when I set the criteria for Field 1 for example it extracts all the records
for Field 1 but also Field 11, 12, 13, 14 etc, basically any Field that starts with 1 and
the situation is the same for starting with 2 or 3 etc. I know I can change the field
names to something different but this is the normal representation of these records. If
there is a workaround it will be used in a programming context for advanced filter copying
extracts to worksheets so this may have a bearing on the possible solution. I would value
any help.

Graham
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default Alphanumeric Filter Criteria

Hi Graham

Depending on which version of excel you are using you need to create a
custom list containing "Field 1, Field 2....,Field 10". Use the list to sort
by.

Hopes it helps

Best regars,
Per

"Graham H" skrev i meddelelsen
...
I have data on which the filter criteria will be Field 1 , Field 2, Field
3, and so on. The problem is when I set the criteria for Field 1 for
example it extracts all the records for Field 1 but also Field 11, 12, 13,
14 etc, basically any Field that starts with 1 and the situation is the
same for starting with 2 or 3 etc. I know I can change the field names to
something different but this is the normal representation of these records.
If there is a workaround it will be used in a programming context for
advanced filter copying extracts to worksheets so this may have a bearing
on the possible solution. I would value any help.

Graham


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Alphanumeric Filter Criteria

Try changing your criteria to look like:

="=Field 1"



Graham H wrote:

I have data on which the filter criteria will be Field 1 , Field 2, Field 3, and so on.
The problem is when I set the criteria for Field 1 for example it extracts all the records
for Field 1 but also Field 11, 12, 13, 14 etc, basically any Field that starts with 1 and
the situation is the same for starting with 2 or 3 etc. I know I can change the field
names to something different but this is the normal representation of these records. If
there is a workaround it will be used in a programming context for advanced filter copying
extracts to worksheets so this may have a bearing on the possible solution. I would value
any help.

Graham


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Alphanumeric Filter Criteria

Thanks for the replies. I have tried all the permutations, both suggested and what I can
think of, but with no success so far. It is annoying as the autofilter will pick them up
individually , it is just the advanced filter. I will persevere but your input is much
appreciated.

Graham

Dave Peterson wrote:
Try changing your criteria to look like:

="=Field 1"



Graham H wrote:
I have data on which the filter criteria will be Field 1 , Field 2, Field 3, and so on.
The problem is when I set the criteria for Field 1 for example it extracts all the records
for Field 1 but also Field 11, 12, 13, 14 etc, basically any Field that starts with 1 and
the situation is the same for starting with 2 or 3 etc. I know I can change the field
names to something different but this is the normal representation of these records. If
there is a workaround it will be used in a programming context for advanced filter copying
extracts to worksheets so this may have a bearing on the possible solution. I would value
any help.

Graham


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Alphanumeric Filter Criteria

This suggestion worked fine for me.

You may want to try it again.

Graham H wrote:

Thanks for the replies. I have tried all the permutations, both suggested and what I can
think of, but with no success so far. It is annoying as the autofilter will pick them up
individually , it is just the advanced filter. I will persevere but your input is much
appreciated.

Graham

Dave Peterson wrote:
Try changing your criteria to look like:

="=Field 1"



Graham H wrote:
I have data on which the filter criteria will be Field 1 , Field 2, Field 3, and so on.
The problem is when I set the criteria for Field 1 for example it extracts all the records
for Field 1 but also Field 11, 12, 13, 14 etc, basically any Field that starts with 1 and
the situation is the same for starting with 2 or 3 etc. I know I can change the field
names to something different but this is the normal representation of these records. If
there is a workaround it will be used in a programming context for advanced filter copying
extracts to worksheets so this may have a bearing on the possible solution. I would value
any help.

Graham



--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Alphanumeric Filter Criteria

Dave Peterson wrote:
This suggestion worked fine for me.

You may want to try it again.

Graham H wrote:
Thanks for the replies. I have tried all the permutations, both suggested and what I can
think of, but with no success so far. It is annoying as the autofilter will pick them up
individually , it is just the advanced filter. I will persevere but your input is much
appreciated.

Thanks for coming back on that. Yes it works, I missed out an = which solved the problem
when I tried it again. Lesson learned- read the posts properly! Many thanks.

Graham



Graham

Dave Peterson wrote:
Try changing your criteria to look like:

="=Field 1"



Graham H wrote:
I have data on which the filter criteria will be Field 1 , Field 2, Field 3, and so on.
The problem is when I set the criteria for Field 1 for example it extracts all the records
for Field 1 but also Field 11, 12, 13, 14 etc, basically any Field that starts with 1 and
the situation is the same for starting with 2 or 3 etc. I know I can change the field
names to something different but this is the normal representation of these records. If
there is a workaround it will be used in a programming context for advanced filter copying
extracts to worksheets so this may have a bearing on the possible solution. I would value
any help.

Graham


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 under and above certain criteria Geo Excel Discussion (Misc queries) 2 October 24th 07 05:29 PM
Filter criteria Tony Excel Discussion (Misc queries) 2 November 24th 05 10:40 AM
Find largest alphanumeric value matching alpha criteria in databas Alison Excel Worksheet Functions 7 August 4th 05 06:59 PM
Filter Criteria Yaasien Excel Discussion (Misc queries) 3 May 26th 05 02:43 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM


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