I need a formula: " If this cell is blank, then 0"

D

Duke

I need a formula that does this:

IF CELL G3 HAS TEXT OF ANY KIND, THEN G34*.15, IF G3 IS BLANK, THEN 0.

Help!!!
 
P

Peo Sjoblom

=IF(AND(ISTEXT(G3),G3<>""),G34*0.15,0)

if you by "text of any kind" mean a number as well

=IF(LEN(G3)>0,G34*0.15,0)
 
S

Sandy Mann

If you mean text in G1 but ignore numbers and errors then try
=(ISTEXT(G3))*G34*0.15

If you mean any entry in G1 the try:

=(G3<>"")*G34*0.15

--
HTH

Sandy
[email protected]
Replace@mailinator with @tiscali.co.uk
 
S

Sandy Mann

Aladin Akyurek said:
1.

=(ISTEXT(G3))*(G34*0.15)

2.

=IF(ISTEXT(G3),G34*0.15,0)

Sandy Mann said:
If you mean text in G1 but ignore numbers and errors then try
=(ISTEXT(G3))*G34*0.15

If you mean any entry in G1 the try:

=(G3<>"")*G34*0.15

mmmm....

Going to have to spend less time reading off line..... <g>

Sandy
 
Top