Forum Discussion
IF 2 cells meet criteria
- Dec 19, 2023
You can modify your formula to include the budgeted revenue if both the actual revenue and certain expenses are blank. Here is the updated formula:
=IF(AND(C6="",C8<>"",C9<>""),C4+C5-C7-C9,IF(C8<>"",C4+C5-C8-C9,IF(C8="",C4+C6-C7-C9,"")))
This formula checks three conditions:
- If the actual revenue (C6) is blank, the budgeted revenue (C5) is considered.
- If the actual expenses (C8) are not blank, it subtracts them from the calculation.
- If the certain expenses (C9) are not blank, it subtracts them from the calculation.
Copy this formula to your "Ending Cash Balance" cell (assuming it's in C10 in your example), and it should give you the desired result. This formula first checks for actual revenue, and if it's blank, it considers the budgeted revenue. Then, it adjusts the calculation based on the presence of actual and certain expenses. The text was revised with the AI.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and like it!
This will help all forum participants.