Splittnig Sheets and budget tracker

22strider

Active Member
Joined
Jun 11, 2007
Messages
311
Hello Friends
Could you please help me writing code for the following? I am using Excel 2007.
I have an input sheet as shown in the table1. Table 1 is for entering details for the invoices. As shown in the sample data, there are different types of work orders (Column D). Each expense is allocated to an account code (Column C).
This project has 2 parts.
Part 1
I am trying to write a code so that on press of a button the input data gets copied into separate spread sheets having sheet names same as the “Work Order Type”.
Please notice Tables 2, 3 and 4 showing intended output with sheet names same as the work order type.
Part 2
Based on the account code (Column C) for each entry and the month of the invoice date (Column J) the value under Total Invoice Amount (Column I) needs to be transferred to the sheet “Budget Tracker” as shown in Table 5. The amount allocated to each account is recorded for each month in the Budget Tracker.

As you can notice that the column headings are not in the row1. They are in row 8 leaving space for some static information regarding the project. So that info should not get changed.
And some fields have data validation (e.g. Account code) for maintaining data integrity. Some fields are calculated fields (e.g. Tax, Invoice total etc.).

Thanks for your help

Table 1


Excel 2007
ABCDEFGHIJK
1Company Name
2
3Project Information Etc.
4
5
6
7
8ORDER #SupplierAccount CodeWork Order TypeMaterial CostLabour CostTotal Amt before TaxTax (12%)Total Actual InvoiceInvoice DateInvoice #
9123ABC Ltd9876Major Repair$50.00150.00200.0024.00224.004/1/134567
10124XYZ Ltd7896Minor Repair$75.00200.00275.0033.00308.004/1/136789
11125LMN Ltd3456Maintenance Contract$100.00300.00400.0048.00448.0004/22/134567
InputSheet
Cell Formulas
RangeFormula
G9=F9+E9
G10=F10+E10
G11=F11+E11
H9=G9*12/100
H10=G10*12/100
H11=G11*12/100
I9=G9+H9
I10=G10+H10
I11=G11+H11


Table2


Excel 2007
ABCDEFGHIJK
1Company Name
2
3Project Information Etc.
4
5
6
7
8ORDER #SupplierAccount CodeWork Order TypeMaterial CostLabour CostTotal Amt before TaxTax (12%)Total Actual InvoiceInvoice DateInvoice #
9123ABC Ltd9876Major Repair$50.00150.00200.0024.00224.004/1/134567
10
Major Repair
Cell Formulas
RangeFormula
G9=F9+E9
H9=G9*12/100
I9=G9+H9


Table 3


Excel 2007
ABCDEFGHIJK
1Company Name
2
3Project Information Etc.
4
5
6
7
8ORDER #SupplierAccount CodeWork Order TypeMaterial CostLabour CostTotal Amt before TaxTax (12%)Total Actual InvoiceInvoice DateInvoice #
9124XYZ Ltd7896Minor Repair$75.00200.00275.0033.00308.004/1/136789
Minor Repair
Cell Formulas
RangeFormula
G9=F9+E9
H9=G9*12/100
I9=G9+H9


Table 4


Excel 2007
ABCDEFGHIJK
1Company Name
2
3Project Information Etc.
4
5
6
7
8ORDER #SupplierAccount CodeWork Order TypeMaterial CostLabour CostTotal Amt before TaxTax (12%)Total Actual InvoiceInvoice DateInvoice #
9125LMN Ltd3456Maintenance Contract$100.00300.00400.0048.00448.0004/22/134567
Maintenance Contract
Cell Formulas
RangeFormula
G9=F9+E9
H9=G9*12/100
I9=G9+H9


Table 5


Excel 2007
ABDEFGHIJKLMNO
1PROJECT:
2Date:April 22, 2013
3Months:
4
5Account CodeActual Expenses
6AprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberJanuaryFebruaryMarch
79876224.00
87896308.00
93456448.00
Budget tracker
Cell Formulas
RangeFormula
B2=TODAY()
 
Last edited:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top