isblank function

G

Guest

Hello,

In cell A2 i have the following: =if(isblank(A3),A1,"")

Problem is that A3 has a formula within it and at times appears blank
because it contains a vlookup function that has not returned data yet because
its reference cell may is blank. So I thought that A3 could be considered
blank until such time that the reference cell activates the vlookup and
therefore data in cell A3.
What can be done to the above formula so that i get the same affect.

Thank You
Brian
 
B

Bob Phillips

=IF(LEN(A3)=0,A1,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
B

Bob Phillips

Brian,

It tests the length of the value in the cell, So, if it is blank, or if
there is a value that resolves to "", it will return 0.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
B

Biff

Hi!

LEN() is the function that returns the length of a string
in a cell.

=LEN(1234) = 4
=LEN( 1234) = 5

A cell is not blank if it contains a formula even if the
formula itself returns "". The "" is actually a zero
length text string.

=IF(LEN(A3)=0,A1,"")

So the formula is testing the length of cell A3.

Biff
 
G

Guest

Thank You


Bob Phillips said:
Brian,

It tests the length of the value in the cell, So, if it is blank, or if
there is a value that resolves to "", it will return 0.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Guest

Thank You


Biff said:
Hi!

LEN() is the function that returns the length of a string
in a cell.

=LEN(1234) = 4
=LEN( 1234) = 5

A cell is not blank if it contains a formula even if the
formula itself returns "". The "" is actually a zero
length text string.

=IF(LEN(A3)=0,A1,"")

So the formula is testing the length of cell A3.

Biff
 
H

Harlan Grove

Bob Phillips said:
It tests the length of the value in the cell, So, if it is blank, or if
there is a value that resolves to "", it will return 0.

Give 'em a fish, and they'll ask for chips. Teach 'em to fish, and they can
go into business for themselves. Or perhaps using online help is only meant
for us archaic types.
 
B

Bob Phillips

You know that's the truth Harlan, it's the modern world :)

BTW the phrase we (I?) use is give a mouse a cookie, and he'll ask for a
glass of milk ... :)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top