Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Blanks and Advanced Filters

Using <* works fine in an Advanced Filter when the field searched is TEXT,
but it does not work on numbers or dates. What's a good way of writing an
Advanced Filter that looks for blanks in a column with dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one with
the blank. BUT, if the Advanced Filter is NUMBER <* you get all records.
Same is true for the DATE column.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Nav Nav is offline
external usenet poster
 
Posts: 43
Default Blanks and Advanced Filters

Is it not possible for you to use Auto Filter and select blanks from the
dropdown menu??



"Janie" wrote:

Using <* works fine in an Advanced Filter when the field searched is TEXT,
but it does not work on numbers or dates. What's a good way of writing an
Advanced Filter that looks for blanks in a column with dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one with
the blank. BUT, if the Advanced Filter is NUMBER <* you get all records.
Same is true for the DATE column.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Blanks and Advanced Filters

Janie wrote:
Using <* works fine in an Advanced Filter when the field searched is
TEXT, but it does not work on numbers or dates. What's a good way of
writing an Advanced Filter that looks for blanks in a column with
dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one
with the blank. BUT, if the Advanced Filter is NUMBER <* you get
all records. Same is true for the DATE column.


For the DATE column you can use 0. For the number column you can use also
0 and also <0 (if there is the possibility to have numbers <0...)



--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Blanks and Advanced Filters

In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the first row of data
in the table. For example, if the numbers are in column F:

=ISBLANK(F2)

When you apply the Advanced Filter, select the blank heading cell and
the cell with the formula, as the criteria range.

Janie wrote:
Using <* works fine in an Advanced Filter when the field searched is TEXT,
but it does not work on numbers or dates. What's a good way of writing an
Advanced Filter that looks for blanks in a column with dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one with
the blank. BUT, if the Advanced Filter is NUMBER <* you get all records.
Same is true for the DATE column.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 299
Default Blanks and Advanced Filters

Another way would be to use a header in F1 and put an equal sign in F2
or if the blanks could be from a formula one could use blank header and

=F2=""


Peo



"Debra Dalgleish" wrote in message
...
In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the first row of data in
the table. For example, if the numbers are in column F:

=ISBLANK(F2)

When you apply the Advanced Filter, select the blank heading cell and the
cell with the formula, as the criteria range.

Janie wrote:
Using <* works fine in an Advanced Filter when the field searched is
TEXT, but it does not work on numbers or dates. What's a good way of
writing an Advanced Filter that looks for blanks in a column with dates
or numbers? Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4 If Advanced Filter is TEXT <* then you get that
third row -- the one with the blank. BUT, if the Advanced Filter is
NUMBER <* you get all records. Same is true for the DATE column.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Blanks and Advanced Filters

Debra had the right answer! Sorry, Peo, yours did not work

"Peo Sjoblom" wrote:

Another way would be to use a header in F1 and put an equal sign in F2
or if the blanks could be from a formula one could use blank header and

=F2=""


Peo



"Debra Dalgleish" wrote in message
...
In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the first row of data in
the table. For example, if the numbers are in column F:

=ISBLANK(F2)

When you apply the Advanced Filter, select the blank heading cell and the
cell with the formula, as the criteria range.

Janie wrote:
Using <* works fine in an Advanced Filter when the field searched is
TEXT, but it does not work on numbers or dates. What's a good way of
writing an Advanced Filter that looks for blanks in a column with dates
or numbers? Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4 If Advanced Filter is TEXT <* then you get that
third row -- the one with the blank. BUT, if the Advanced Filter is
NUMBER <* you get all records. Same is true for the DATE column.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Blanks and Advanced Filters

thanks to Debra for the right answer:
"Debra Dalgleish" wrote in message
...
In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the first row of data in
the table. For example, if the numbers are in column F:

=ISBLANK(F2)

When you apply the Advanced Filter, select the blank heading cell and the
cell with the formula, as the criteria range.



"Janie" wrote:

Using <* works fine in an Advanced Filter when the field searched is TEXT,
but it does not work on numbers or dates. What's a good way of writing an
Advanced Filter that looks for blanks in a column with dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one with
the blank. BUT, if the Advanced Filter is NUMBER <* you get all records.
Same is true for the DATE column.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Blanks and Advanced Filters

You're welcome! Thanks for letting me know that it worked.

Janie wrote:
thanks to Debra for the right answer:
"Debra Dalgleish" wrote in message
...

In the criteria area, leave the heading cell blank.
In the cell below, enter a formula that refers to the first row of data in
the table. For example, if the numbers are in column F:

=ISBLANK(F2)

When you apply the Advanced Filter, select the blank heading cell and the
cell with the formula, as the criteria range.




"Janie" wrote:


Using <* works fine in an Advanced Filter when the field searched is TEXT,
but it does not work on numbers or dates. What's a good way of writing an
Advanced Filter that looks for blanks in a column with dates or numbers?

Examples:
Data range is like this:

TEXT NUMBER DATE
A 1 8/21/06
B 8/20/06
3 8/19/06
D 4

If Advanced Filter is TEXT <* then you get that third row -- the one with
the blank. BUT, if the Advanced Filter is NUMBER <* you get all records.
Same is true for the DATE column.




--
Debra Dalgleish
Contextures
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
Advanced Filter (Criteria + Blanks) SamuelT Excel Discussion (Misc queries) 4 July 5th 06 05:03 PM
Advanced filtering on text and blanks dtencza Excel Discussion (Misc queries) 4 March 14th 06 01:07 AM


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