[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD="align: center"]LOCATION[/TD]
[TD][/TD]
[TD="align: center"]AMOUNT[/TD]
[TD="align: center"]Mr. A[/TD]
[TD="align: center"]Mr. B[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="align: center"]LAS[/TD]
[TD]Mr. A[/TD]
[TD]$0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD="align: center"]LAS[/TD]
[TD]Mr. B[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD="align: center"]LAS[/TD]
[TD]Total[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD="align: center"]LAS[/TD]
[TD]TV[/TD]
[TD]$2,000[/TD]
[TD][/TD]
[TD]$2,000 (manual input)[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="align: center"]LAS[/TD]
[TD]Radio[/TD]
[TD]$8,000[/TD]
[TD][/TD]
[TD]$8,000 (manual input)[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: center"]SFB[/TD]
[TD]Mr. A[/TD]
[TD]$2,500[/TD]
[TD]=C7/C9[/TD]
[TD]=C8/C9[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: center"]SFB[/TD]
[TD]Mr. B[/TD]
[TD]$2,350[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD="align: center"]SFB[/TD]
[TD]Total[/TD]
[TD]$4,850[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD="align: center"]SFB[/TD]
[TD]TV[/TD]
[TD]$0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD="align: center"]SFB[/TD]
[TD]Radio[/TD]
[TD]$4,850[/TD]
[TD]=D7*C11[/TD]
[TD]=E7*C11[/TD]
[/TR]
</tbody>[/TABLE]
So I have the above data. Now, I have been just manually inputting the dollar amount according to either Company or Sponsor.
For example, since all the advertisement for LAS was sponsored by Mr. B, I would put $2,000 in E5 and $8,000 in E6.
For SPB, both the Mr. A and sponsored for the advertisement, I would calculate how much of the total Mr. A contributed and how much Mr. B contributed.
I would do "=C7/C9" in D7 and "=C8/C9" in E7. Then I would use those percentage and multiply by the amount spent from each advertising type (see the table).
Now what I want to do is maybe use "IF" formula to calculate the numbers. So that all I would have to do is input the amount in Column C for each month, and formulas in Column D and E would pick up the values and automatically do it. Now, note that locations vary on the amounts, the person who sponsors, and the media type that was advertised.
Greatly appreciate any help!
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD="align: center"]LOCATION[/TD]
[TD][/TD]
[TD="align: center"]AMOUNT[/TD]
[TD="align: center"]Mr. A[/TD]
[TD="align: center"]Mr. B[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="align: center"]LAS[/TD]
[TD]Mr. A[/TD]
[TD]$0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD="align: center"]LAS[/TD]
[TD]Mr. B[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD="align: center"]LAS[/TD]
[TD]Total[/TD]
[TD]$10,000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD="align: center"]LAS[/TD]
[TD]TV[/TD]
[TD]$2,000[/TD]
[TD][/TD]
[TD]$2,000 (manual input)[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="align: center"]LAS[/TD]
[TD]Radio[/TD]
[TD]$8,000[/TD]
[TD][/TD]
[TD]$8,000 (manual input)[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: center"]SFB[/TD]
[TD]Mr. A[/TD]
[TD]$2,500[/TD]
[TD]=C7/C9[/TD]
[TD]=C8/C9[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: center"]SFB[/TD]
[TD]Mr. B[/TD]
[TD]$2,350[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD="align: center"]SFB[/TD]
[TD]Total[/TD]
[TD]$4,850[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD="align: center"]SFB[/TD]
[TD]TV[/TD]
[TD]$0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD="align: center"]SFB[/TD]
[TD]Radio[/TD]
[TD]$4,850[/TD]
[TD]=D7*C11[/TD]
[TD]=E7*C11[/TD]
[/TR]
</tbody>[/TABLE]
So I have the above data. Now, I have been just manually inputting the dollar amount according to either Company or Sponsor.
For example, since all the advertisement for LAS was sponsored by Mr. B, I would put $2,000 in E5 and $8,000 in E6.
For SPB, both the Mr. A and sponsored for the advertisement, I would calculate how much of the total Mr. A contributed and how much Mr. B contributed.
I would do "=C7/C9" in D7 and "=C8/C9" in E7. Then I would use those percentage and multiply by the amount spent from each advertising type (see the table).
Now what I want to do is maybe use "IF" formula to calculate the numbers. So that all I would have to do is input the amount in Column C for each month, and formulas in Column D and E would pick up the values and automatically do it. Now, note that locations vary on the amounts, the person who sponsors, and the media type that was advertised.
Greatly appreciate any help!