Good Morning MrExcel!
I am trying to get the syntax correct but I am not 100% sure the SumIF is the right command for what I am after or if it should be some very long if statement.
I would greatly appreciate any insight you have:
I think can do this with pivot charts to get the sum but I am trying to pull over totals based on category (project charge type) and week #. I am trying to build it into a standard accounting sheet type format and wasn't real sure if that was the right path to take either.
I am pulling the data below, I have my accounting sheet broken out into the revenue along the top and then a line to reduce the revenue by that weeks revenue. I have 14 different project charge types
[TABLE="width: 500"]
<tbody>[TR]
[TD]Weeks[/TD]
[TD]Week 17[/TD]
[TD]Week 18[/TD]
[TD]Week 19[/TD]
[/TR]
[TR]
[TD]Airline[/TD]
[TD](need this total from the second example table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Car[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Payroll[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
</tbody>[/TABLE]
Example table #2 (this is a data connection coming from SharePoint and is pulled into a table) There will be about 15 weeks worth of charges, I am guessing about 250 lines or so once the project is nearing the end.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Week Number[/TD]
[TD]Charge Category (types)[/TD]
[TD]Charge Amount[/TD]
[TD]Save Location[/TD]
[TD]Project Name[/TD]
[/TR]
[TR]
[TD]Week 17[/TD]
[TD]Tools[/TD]
[TD]800.00[/TD]
[TD](sharepoint url)[/TD]
[TD]Name of the project[/TD]
[/TR]
[TR]
[TD]Week 17[/TD]
[TD]Approved Incidentals[/TD]
[TD]300.00[/TD]
[TD](sharepoint url)
[/TD]
[TD]Name of the project.[/TD]
[/TR]
[TR]
[TD]Week 18[/TD]
[TD]Payroll[/TD]
[TD]50000.00[/TD]
[TD]SharePoint[/TD]
[TD]Project[/TD]
[/TR]
[TR]
[TD]Week 18[/TD]
[TD]Tools[/TD]
[TD]500.00[/TD]
[TD]SharePoint[/TD]
[TD]Project[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to get the syntax correct but I am not 100% sure the SumIF is the right command for what I am after or if it should be some very long if statement.
I would greatly appreciate any insight you have:
I think can do this with pivot charts to get the sum but I am trying to pull over totals based on category (project charge type) and week #. I am trying to build it into a standard accounting sheet type format and wasn't real sure if that was the right path to take either.
I am pulling the data below, I have my accounting sheet broken out into the revenue along the top and then a line to reduce the revenue by that weeks revenue. I have 14 different project charge types
[TABLE="width: 500"]
<tbody>[TR]
[TD]Weeks[/TD]
[TD]Week 17[/TD]
[TD]Week 18[/TD]
[TD]Week 19[/TD]
[/TR]
[TR]
[TD]Airline[/TD]
[TD](need this total from the second example table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Car[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
[TR]
[TD]Payroll[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[TD](need this total from the second example Table)[/TD]
[/TR]
</tbody>[/TABLE]
Example table #2 (this is a data connection coming from SharePoint and is pulled into a table) There will be about 15 weeks worth of charges, I am guessing about 250 lines or so once the project is nearing the end.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Week Number[/TD]
[TD]Charge Category (types)[/TD]
[TD]Charge Amount[/TD]
[TD]Save Location[/TD]
[TD]Project Name[/TD]
[/TR]
[TR]
[TD]Week 17[/TD]
[TD]Tools[/TD]
[TD]800.00[/TD]
[TD](sharepoint url)[/TD]
[TD]Name of the project[/TD]
[/TR]
[TR]
[TD]Week 17[/TD]
[TD]Approved Incidentals[/TD]
[TD]300.00[/TD]
[TD](sharepoint url)
[/TD]
[TD]Name of the project.[/TD]
[/TR]
[TR]
[TD]Week 18[/TD]
[TD]Payroll[/TD]
[TD]50000.00[/TD]
[TD]SharePoint[/TD]
[TD]Project[/TD]
[/TR]
[TR]
[TD]Week 18[/TD]
[TD]Tools[/TD]
[TD]500.00[/TD]
[TD]SharePoint[/TD]
[TD]Project[/TD]
[/TR]
</tbody>[/TABLE]