I\'m working on a Google Sheets document in which I calculate profits based on two columns: Price and payment method. I\'d like help with a script that checks the values of