[TABLE="width: 812"]
<tbody>[TR]
[TD="colspan: 7, align: center"] G Accounts[/TD]
[TD="colspan: 5"] B Accounts[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD][/TD]
[TD="colspan: 2"]AP Account[/TD]
[TD="colspan: 2"]AR Account[/TD]
[TD="colspan: 2"]Payables[/TD]
[TD="colspan: 2"]Rec[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Beg Balance[/TD]
[TD="colspan: 2"]234[/TD]
[TD="colspan: 2"]2345[/TD]
[TD]Pmts[/TD]
[TD]Purchases[/TD]
[TD]Trad[/TD]
[TD]Other[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]Company[/TD]
[TD]Invoice[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]$200[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]$250[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]$300[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD="align: right"]$10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]21345[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sorry this is a little confusing since it is not in proper table form but first time poster so still new to the system. I am using PowerPivot to construct a table containing these elements. The information for the table is coming from 3 large data tables all connected by the invoice number. I am struggling to create the table in the format shown above. The biggest issue is putting the G accounts before the B accounts as that is the format I need it in. I also need to be able to run this table every so often and have the ending balance from the last table be the beginning balance on the next report, IF any of the invoices grand totals are not equal to 0.
So the report needs to pull the information from each report if the invoice matches each other and be able to separate the data into the various categories. So for example: Invoice 1 is a $100 transaction in one of the G reports on the AP side account 234, it also appears on the B reports side under payables with a sub category of payments. The rows are then added up as a grand total. In terms of the data table there is two tables for G accounts and one for B accounts, either of the G accounts need to match with the B account, the G accounts do not have to match with each other for the invoices. So i currently have the relationships for powerpivot as invoice number for G1 is the same as B invoice number and B invoice is in a relationship with G2 as well.
I know this is a lot of information and is probably a little confusing to understand, I'm still new to excel and would appreciate any help I can receive.
Thanks
<tbody>[TR]
[TD="colspan: 7, align: center"] G Accounts[/TD]
[TD="colspan: 5"] B Accounts[/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD][/TD]
[TD="colspan: 2"]AP Account[/TD]
[TD="colspan: 2"]AR Account[/TD]
[TD="colspan: 2"]Payables[/TD]
[TD="colspan: 2"]Rec[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Beg Balance[/TD]
[TD="colspan: 2"]234[/TD]
[TD="colspan: 2"]2345[/TD]
[TD]Pmts[/TD]
[TD]Purchases[/TD]
[TD]Trad[/TD]
[TD]Other[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]Company[/TD]
[TD]Invoice[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]$200[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]$250[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]$300[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD="align: right"]$10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]21345[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sorry this is a little confusing since it is not in proper table form but first time poster so still new to the system. I am using PowerPivot to construct a table containing these elements. The information for the table is coming from 3 large data tables all connected by the invoice number. I am struggling to create the table in the format shown above. The biggest issue is putting the G accounts before the B accounts as that is the format I need it in. I also need to be able to run this table every so often and have the ending balance from the last table be the beginning balance on the next report, IF any of the invoices grand totals are not equal to 0.
So the report needs to pull the information from each report if the invoice matches each other and be able to separate the data into the various categories. So for example: Invoice 1 is a $100 transaction in one of the G reports on the AP side account 234, it also appears on the B reports side under payables with a sub category of payments. The rows are then added up as a grand total. In terms of the data table there is two tables for G accounts and one for B accounts, either of the G accounts need to match with the B account, the G accounts do not have to match with each other for the invoices. So i currently have the relationships for powerpivot as invoice number for G1 is the same as B invoice number and B invoice is in a relationship with G2 as well.
I know this is a lot of information and is probably a little confusing to understand, I'm still new to excel and would appreciate any help I can receive.
Thanks