In DATABASE criteria "Blank Cell" AND ="" are NOT the same things?? I couldn't find any solution to this simple point yet !

damlays

New Member
Joined
Sep 26, 2015
Messages
5
As known, when criteria cell is EMPTY excel IGNOREs that Criteria.


BUT, the problem is;
- If criteria cell is really BLANK, excel really (totally) ignores that criteria
- If criteria cell is BLANK with FORMULA (as ="" ), then excel ignores that criteria again, BUT this time NOT COUNTING "the ROWS with blank cells" in database table.


Problem is a simple point, but solution is not found yet:
According to Excel's reading, the Difference Between "Blank Cell" & "Null Text" is causing this problem in Criteria Cell.


I am looking for any excel expression which TELLS to Excel to read that Cell as "Blank Cell"
Is there any way to do it?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Given:

Row\Col
A​
B​
C​
D​
1​
field-1field-2field-3field-4
2​
jad
12​
x
3​
nad
16​
x
4​
vad
20​
xlondon

<tbody>
</tbody>


where D2 houses the formula

=""

D3 is empty (untouched cell)

D4 houses the entry London

what do you want to calculate? If it's a count of records involving the D-range, what is the expected figure?
 
Upvote 0
=VALUE(A1)

If cell is empty (untouched cell) the VALUE(A1) will be 0
if
cell is blank with formula (as ="" ) the VALUE(A1) will be #VALUE!

so you can use
=ISERR(VALUE(A1))
True for =""
False for empty cell
 
Upvote 0
About Cross-posting issue;
As I know; If I post same question in different sections of the SAME FORUM it is cross posting and wasting time of people.


But,
Again as I know; There are several forums Separate and Independent from each other, and their readers are not completely same.
Why I cannot post the same question into different platforms freely?
I cannot understand this point well.


Are they in reality only one forum (or one organization) but under different domain names?
Am I missing any point?
 
Upvote 0
In your example I want to have a criteria table with field-3 & field-4 for "Getting SUM of field-2" (for the rows matching my criteria).

IN CRITERIA TABLE;
For the Cell under field-3, I want to put "x".

For the Cell under field-4, I want to put a formula.
This formula shall be sometimes "empty" (it means ignore this criteria) and sometimes "london" (this cell is variable according to my formulation)

How can I make this criteria cell (under field-4) "blank"?

If I go to cell and "DELETE" with keyboard, yes it becomes BLANK.
But with formula, I cannot make it "Blank" and I cannot ignore this criteria. (as I explain in my first port)
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,432
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top