slight variation when working with separate worksheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please tell me why the following two scenarios show different results:

Scenario One:
When working with just one worksheet:
In cell A1 I have a completely blank cell with no value. In cell A2, I type
"=A1" (without quotes). The result shows in A2, naturally, another blank
cell.

Scenario Two:
When I have two worksheets Wrksht1 and Wrksht2:
In Wrksht1 in cell A1 I have a completely blank cell. Now I go over to
Wrksht2 to cell A1 and type "=Wrksht1!A1" (without quotes). It shows the
value 0.

Why is the result in A2 of Wrksht2 not showing a completely blank cell like
in scenario one? Why does it change to a zero?
 
OK I now understand that this problem has nothing to do with different
worksheets at all. I have now gotten the two different values in the same
worksheet. It appears to me to be a formatting error.
 
You could use a formula like:

=if(a1="","",a1)
or
=if(sheet1!a1="","",sheet1!a1)

And not have to worry about formatting.
 

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

Back
Top