The general formula is :-
=IF(value1 > value2, result if true, result if false)
'-------------------------------------------------------
This uses your criteria,
If A1>B1 *then* result = A1 - B1
*otherwise* result = 0
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.