excel "" in function

G

Guest

I am using an =if function as follows: =IF(E8>"",C8*D8,"")

Right now the formula only works if E8 contains a letter, I would like it
to work for a letter AND a number but cannot figure out how.

Any help would be appreciated.
 
P

Paul B

Here is one way, =IF(ISBLANK(E8),"",C8*D8)

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
G

Guest

Assuming you mean if E8 is NOT blank/empty

=IF(E8<>"",C8*D8,"")

otherwise I don't know what you mean by E8 greater than ""


Regards,

Peo Sjoblom
 
G

Gord Dibben

Try =IF(E8<>"",C8*D8,"")

Which means "not equal" rather then "greater than"


Gord Dibben Excel MVP
 

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