Returning a zero

D

Dena

I have a worksheet with 2 sheets. The first sheet has all formulas and
depends on the second sheet. I need a formula in sheet 1 that subtracts cell
a1 from cell b1 but if cell a1 is zero I want the formula to return a zero.
Is this possible?
 
F

Fred Smith

Certainly. Use something like:
=if(sheet2!a1=0,0,sheet2!b1-sheet2!a1)

Regards,
Fred.
 

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


Top