Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Autofilter including incorrect rows

Has anyone encountered a problem with Autofilter including rows that don't
meet the search criterion?

The drop-down menu lists the correct choices, but the filter does not
exclude all the rows that don't meet the chosen value.

It's not a large sheet (c 250 rows) and the most it should return would be
around 20-25 rows.

Can anyone help?

Thanks
Sue
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Autofilter including incorrect rows

Either your filter ends before you expect it to.

or your data includes spaces at the end or the beginning so it doesn't meet
the criteria for exclusion.

But no, Autofilter is pretty robust.

--
Regards,
Tom Ogilvy

"SueJB" wrote in message
...
Has anyone encountered a problem with Autofilter including rows that don't
meet the search criterion?

The drop-down menu lists the correct choices, but the filter does not
exclude all the rows that don't meet the chosen value.

It's not a large sheet (c 250 rows) and the most it should return would be
around 20-25 rows.

Can anyone help?

Thanks
Sue



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Autofilter including incorrect rows

I bet you have a gap in your range (blank row???).

If you let excel guess what the range should be, it might guess wrong for you.

I'd remove the autofilter and then select the whole range and then apply
data|filter|Autofilter.



SueJB wrote:

Has anyone encountered a problem with Autofilter including rows that don't
meet the search criterion?

The drop-down menu lists the correct choices, but the filter does not
exclude all the rows that don't meet the chosen value.

It's not a large sheet (c 250 rows) and the most it should return would be
around 20-25 rows.

Can anyone help?

Thanks
Sue


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Autofilter including incorrect rows

Thanks Dave and Tom

No, there weren't any blank rows, but Dave's suggestion works so at least I
don't have the problem now.

I wish I knew what caused it though!

Sue

"Dave Peterson" wrote:

I bet you have a gap in your range (blank row???).

If you let excel guess what the range should be, it might guess wrong for you.

I'd remove the autofilter and then select the whole range and then apply
data|filter|Autofilter.



SueJB wrote:

Has anyone encountered a problem with Autofilter including rows that don't
meet the search criterion?

The drop-down menu lists the correct choices, but the filter does not
exclude all the rows that don't meet the chosen value.

It's not a large sheet (c 250 rows) and the most it should return would be
around 20-25 rows.

Can anyone help?

Thanks
Sue


--

Dave Peterson

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
AutoFilter Top 10 - Incorrect Answer Rebecca_SUNY Excel Discussion (Misc queries) 1 November 4th 08 04:55 PM
Get number of rows that data uses, including blank rows Denham Coote Excel Discussion (Misc queries) 5 August 22nd 06 02:10 PM
Get number of rows that data takes up, including blank rows Denham Coote Excel Worksheet Functions 2 August 21st 06 09:18 AM
Subtotals including blank rows H0MELY Excel Discussion (Misc queries) 0 March 30th 06 08:11 PM
Pivot Tables: How do I show ALL field rows, including empty rows?? [email protected] Excel Worksheet Functions 2 April 8th 05 06:21 PM


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