Calculation within a calculation

M

Mike

I'm trying to take cell A1 and subtract it from cell B1
and if the two cells equal then input text in cell
C1 "Balanced", if the two cells do not equal then input
text in cell C1 "Out of balance by (what the actual
difference is)". Does anyone know the formula to use?
Thanks
 
A

Alan

If I understand you correctly try
=IF(A1-B1=0,"Balanced","Out of balance by "&A1-B1)
Regards,
 
G

Gabor Sebo

-----Original Message-----
I'm trying to take cell A1 and subtract it from cell B1
and if the two cells equal then input text in cell
C1 "Balanced", if the two cells do not equal then input
text in cell C1 "Out of balance by (what the actual
difference is)". Does anyone know the formula to use?
Thanks
.
Hello,

Insert into C1:
=if(exact(a1,b1),"balanced","unbalanced")
 

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