Fix a google script to run off formula values not just typed out numbers

Job ID: 37494833

Budget: $10 – $30 USD

I have a google script that runs when cell D10 and D11 are 1 but when one of the cells is connected to another cell by = the script wont run. I need it to be able to work with a simple = formula
Related categories: Excel Excel VBA Google Sheets