Our goats are pet wethers, and I give them all our veggie peelings except raw potato. They also have fruit thats gone past it best, stale cake and bread (in moderation) and digestive biscuits as a treat (if I have to get them in for some reason).
3. Click the lower right corner of cell C1 and drag the formula down. Result: 4. To change the negative numbers to zero but leave the positive numbers unchanged, instead of =A1-B1, use =MAX(0,A1-B1) and drag the function down. Result: Explanation: the MAX function returns the maximum of two values. If the result of the formula is negative, the function returns 0.
In Excel, the SUMIF function can help you to add up only the positive values or negative values. You can apply this formula as this: 1. Type this formula =SUMIF($A$1:$D$7,>0) into a blank cell, see screenshot: 2. Then press Enter key, and just all of the positive numbers have been added up. Notes: 1.