|  

» Calculating the Remaining Credit after Each Purchase

Problem:

Calculating the credit that remains after each purchase is made.
Once the credit limit (stored in cell B1) is exceeded, zero is to be returned for all further purchases.

Solution:

Use the MAX and SUM functions in the following formula:
=MAX(0,$B$1-SUM($A$4:A4))

Rate This Tip
12 34 5
Rating: 2.40     Views: 12049
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments