big problem

  • Thread starter Thread starter Wu
  • Start date Start date
Hi,

I don't understand this. If A2 & B2 are empty your formula will show 0
(Zero) the only way it will show a #value! error is if there are text entries
in these cells. How do data get into A2 and B2? are they formulas?

Mike
 
Hi Wu,

Try this =IF(OR(A2="",B2=""),"",A2*B2)
--
Regards
Warren
Excel Novice

If this helps please click the Yes button.
 
MIKE H, You are right, actually, I have set formulas into A2 and B2,

In A2 , ='sheet2'!F2 , THAT MEANS THE SOURCR OF A2 IF FROM F2 OF SHEET2
In B2 , ='sheet2'!G2
 
Another one:

=N(A1)*N(B1)

This will show 0 if either are text.
 
Sorry if this double-posts, but there seems to be problems today and I can't
see the post I thought I made.

The problem probably is that F2 or G2 contain spacebars, hidden characters,
or formulas that evaluate to "" or " ".

To clear up spacebars and hidden characters, select the cells and press Del.
To deal with the "" or " " change your formulas that read
='sheet2'!G2
to
=IF(sheet2!G2="",0,sheet2!G2)
If there is any other text in G2 then you might do
=IF(istext(sheet2!G2),0,sheet2!G2)
this second solution will work for the "" problem also.

cheers,
Shane
 

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

Similar Threads


Back
Top