Hi!
I need help to solve a SUMIF (or similar formula) to calculate expenses based on percentage.
In Sheet1 I have the following columns (defined as names):
- Amt_ex_GST (total amount for the expense)
- Type_expense (text based value, type of expense)
- Location1 (percentage, how much of the above amount that should be allocated to this location)
- Location2 (percentage, how much of the above amount that should be allocated to this location)
- Location3 (percentage, how much of the above amount that should be allocated to this location)
- Location4 (percentage, how much of the above amount that should be allocated to this location)
In Sheet2 I have lined up the different expense types in column A and I have allocated B:E for Location1 through to Location4.
So I'm trying to calculate the total amount for the different expenses based on the percentage for each location, I have tried the following but wasn't successful:
=SUMIF(Type_expense,A2,(Amt_ex_GST*Location1)
Anyone who can give me some ideas?
Thanks!
Bookmarks