Help on this formula

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

Guest

=SUM(N8:N9)-SUM(N20:N21)

If the results from the above formula are 0 or less than 0, how can I leave
the results blank or at 0?
 
=MAX(SUM(N8:N9)-SUM(N20:N21),0)

--
Kind regards,

Niek Otten

Microsoft MVP - Excel
 
slight correction

=IF(SUM(N8:N9)-SUM(N20:N21)=>0,"",SUM(N8:N9)-SUM(N20:N21))
 

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