Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Data filter brings in too much data

I have a simple macro that is supposed to filer out the rows where the first
column contains the string "TC1". The other rows in the data range contain
the string "TC1 APR05", "TCI May05", "TC2" etc. The problem is that when I
specify the filter criteria as "TC1" the results include all the rows that
include TC1 as the first 3 characters. this will include TC1 May05 etc. How
can I limit the filter to extract just the rows that contain "TC1" and only
"TC1" irrespective of the characters that follow.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Data filter brings in too much data

Hi Ben,

To restrict the filter output to TC1 rather than all strings which start
with TC1, try changing your filter criterion to:

="=TC1"


---
Regards,
Norman



"Ben" wrote in message
...
I have a simple macro that is supposed to filer out the rows where the
first
column contains the string "TC1". The other rows in the data range
contain
the string "TC1 APR05", "TCI May05", "TC2" etc. The problem is that when I
specify the filter criteria as "TC1" the results include all the rows that
include TC1 as the first 3 characters. this will include TC1 May05 etc.
How
can I limit the filter to extract just the rows that contain "TC1" and
only
"TC1" irrespective of the characters that follow.
Thank you



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
DataFilterAuto Filter in excel 2007? TIJ New Users to Excel 2 November 13th 08 03:28 AM
Import Excel Data Brings Spaces Brandon G. Excel Worksheet Functions 2 December 10th 07 04:24 PM
Excell Data Filter Fails to Integrate New Data-rows Richard-44 Excel Discussion (Misc queries) 2 November 10th 07 03:30 AM
Excel 2007 Data Filter - When using cut it clears all data SEF Excel Discussion (Misc queries) 2 June 20th 07 04:10 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 02:35 AM.

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"