Help with an equation

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Is there a way to not have the answer to an equation show in a cell.?
An exaple of what I have now is cell D1 contains: =B1*C1 , and I dont
want anything to show in D1 until something is put into B1 and C1. It shows
'$ -' right now and I just want it to be blank.
 
=if(count(b1:c1)=2,B1*C1,"")
BTW - we talk of 'formulas' not 'equations' - the later have something on
both sides of the =
best wishes
 
You could check for either cell:
=if(b1="","",b1*c1)
or
=if(c1="","",b1*c1)

or you could check for numbers in both cells:
=if(count(b1:c1)<2,"",b1*c1)

I bet you clicked the $ icon on the toolbar to format the cell as Currency Style
(Accounting format).

This is the same as a custom format of:
_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

You could hide the 0's by using:
_($* #,##0.00_);_($* (#,##0.00);;_(@_)

But this will hide the 0's if either b1 or c1 is 0.
 

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

Autofill equations 4
Excel Add ^ to a row of cells containing letters 3
Format of cell 1
Format of cell 1
Logical 5
How to programme this in excel? 5
Nested IF Help 3
Validation 4

Back
Top