#1   Report Post  
DANmcc
 
Posts: n/a
Default advance filter

I am trying to isolate unique enteries from a list using the advance filter.
Each cell contains text. There are some cells that contain the same text,
but the spacing before the text is different. The advance filter does not
recognize these as unique enteries. I have tried to clear the formatting of
the cells and this doesn't work. Anyway, to make the advance filter to
ignore spacing and just look at text. Any other suggestions????

Thanks
DAN
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Say your data is in column A, starting in row 2. In cell B2 use this formula:

=TRIM(A2)

and copy it down as far as needed. Then copy the range with the new
formulas, select the original cells, and choose Edt Paste Special Values
from the menu.

When finished, delete the formulas in column B.

Now your advanced filter should work just fine.



"DANmcc" wrote:

I am trying to isolate unique enteries from a list using the advance filter.
Each cell contains text. There are some cells that contain the same text,
but the spacing before the text is different. The advance filter does not
recognize these as unique enteries. I have tried to clear the formatting of
the cells and this doesn't work. Anyway, to make the advance filter to
ignore spacing and just look at text. Any other suggestions????

Thanks
DAN

  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Create a criteria area with a blank heading cell, and the following
formula in the cell below:

=AND(COUNTIF($C$1:$C2,C2)=1,C2=TRIM(C2))

Where column C contains the text that you want to filter.

When you run the Advance Filter, select the Blank heading cell, and the
cell with the formula, as the criteria area.

DANmcc wrote:
I am trying to isolate unique enteries from a list using the advance filter.
Each cell contains text. There are some cells that contain the same text,
but the spacing before the text is different. The advance filter does not
recognize these as unique enteries. I have tried to clear the formatting of
the cells and this doesn't work. Anyway, to make the advance filter to
ignore spacing and just look at text. Any other suggestions????

Thanks
DAN



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Why does my advance filter only show one record? Kyri Excel Discussion (Misc queries) 1 March 25th 05 03:13 AM
Macro for Filter Switches ... Maybe??? Ken Excel Discussion (Misc queries) 4 February 25th 05 05:30 PM
Filter Switches vs Macro? Ken Excel Discussion (Misc queries) 3 February 24th 05 10:31 PM
about advance filter Max New Users to Excel 1 December 30th 04 04:59 AM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM


All times are GMT +1. The time now is 03:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"