Good afternoon, I'm looking for help with my budget sheet.
I need to calculate the project design cost using a rate, but when we have a change order the rate can be different.
As an example for the first 50 hours I need to use the rate of $100, but then for the next 50 hours I need to use the rate of $110, and so on. I have to formula working correctly at that point, I'm stuck when we go over Budgeted hours, so in my example when I put 201 in Actual the cost goes blank
=IF(Actual@row <= Budget@row, Actual@row * Budget2, IF(AND(Actual@row > Budget@row, Actual@row <= SUM(Budget@row:[CO1 Budget]@row), [CO1 Budget]@row > 0), Budget@row * Budget2 + (Actual@row - Budget@row) * [CO1 Budget]2,
IF(AND(Actual@row > SUM(Budget@row:[CO1 Budget]@row), Actual@row <= SUM(Budget@row:[CO2 Budget]@row), [CO2 Budget]@row > 0), Budget@row * Budget2 + [CO1 Budget]@row * [CO1 Budget]2 + (Actual@row - SUM(Budget@row:[CO1 Budget]@row)) * [CO2 Budget]2,
IF(AND(Actual@row > SUM(Budget@row:[CO2 Budget]@row), Actual@row <= SUM(Budget@row:[CO3 Budget]@row), [CO3 Budget]@row > 0), Budget@row * Budget2 + [CO1 Budget]@row * [CO1 Budget]2 + [CO2 Budget]@row * [CO2 Budget]2 + (Actual@row - SUM(Budget@row:[CO2 Budget]@row)) * [CO3 Budget]2, ""))))