Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joop
 
Posts: n/a
Default returning blank cell in criteria o

Currently I am struckling with advanced filtering. In my criteria range
one cell contains an IF formula and the false condition it returns an
empty cell "". Problem is now that advanced filter does not treat this
as a true blank cell; it now only matches with strings. So if I have
figure in this column of my database, it is not selected. I would like
to return a true blank from my IF formula, so that everything is
matched both strings and figures. Is this possible?

Bye
Joop

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way is with a criteria of:

="<?*"

And that cell with the formula isn't really empty. It may look empty, but it
contains a formula.



Joop wrote:

Currently I am struckling with advanced filtering. In my criteria range
one cell contains an IF formula and the false condition it returns an
empty cell "". Problem is now that advanced filter does not treat this
as a true blank cell; it now only matches with strings. So if I have
figure in this column of my database, it is not selected. I would like
to return a true blank from my IF formula, so that everything is
matched both strings and figures. Is this possible?

Bye
Joop


--

Dave Peterson
  #3   Report Post  
Joop
 
Posts: n/a
Default

Dave thank you for your answer!

I tried it but despite that the excel help states that "*" matches any
character or number, it does not match numbers, only strings.

I also tried without using the IF formula, just direct typing the "*".
Same result: only matching of strings.

So no solution yet.

Joop

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

I only tested against strings.

I put my data in A6:G17 (headers in row 6).
I put my criteria in I2:I3
I left I2 empty
I put this formula in I3:
=LEN(C7)=0

When I ran data|filter|advanced filter, I specified I2:I3 as my criteria range.

I saw just the cells that looked blank (either were blank or had formulas that
evaluated to "").

If I wanted the non-blank looking cells, I'd use this in I3:
=len(c7)0

==

(I'm not sure which way you're doing the filter--hiding or showing these blank
looking cells.)

Joop wrote:

Currently I am struckling with advanced filtering. In my criteria range
one cell contains an IF formula and the false condition it returns an
empty cell "". Problem is now that advanced filter does not treat this
as a true blank cell; it now only matches with strings. So if I have
figure in this column of my database, it is not selected. I would like
to return a true blank from my IF formula, so that everything is
matched both strings and figures. Is this possible?

Bye
Joop


--

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
Custom format that shows blank cell if another cell is empty Zdenek Moravec Excel Discussion (Misc queries) 1 March 25th 05 11:45 AM
conditional formating for a blank cell wsoung Excel Discussion (Misc queries) 5 March 9th 05 10:15 PM
Using IF when more than one cell contains criteria Suz Excel Worksheet Functions 3 February 16th 05 10:55 PM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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