I have a spreadsheet that is attached to a database. The first sheet has the data that is to be copied into a second spreadsheet. The values in columns C through I have to be copied and repeated in the second spreadsheet repeatedly. The data in these columns are to be used to store the data into the database from the second spreadsheet. This application is a payroll type application and the data should be copied for each Employee Number,Business Area etc. The other columns which start at column (AW) have the monthly calculations per employee. Each section has different accounts that are pulled based on properties for each employee and business area combination. So for the other columns of data I have to copy the differing account numbers and the monthly data that is to be sent back into the database by employee. So that the monthly data and the accounts are lined up with the repeating rows of the Employee Number,Business Area, etc. The complexity comes in because the data in the first spreadsheet could have multiple thousands of rows and columns of data and I need to figure out how to determine the last row of data in each section that is copied from the first spreadsheet into the second one.
Example: For the Dental/Medical section in the first spreadsheet starts at column (C10:I29) which is (Employee Number,Business Area,Paytype,CostCenter,Company,Department and profit center). This is the first section that has to be copied into the second spreadsheet starting at column (A5:G54). Once that is copied over I need the data in columns (AW10:BO29) copied over to the second spreadsheet. But I need the data for the FIN Account column (AW10:AW29) in the first spreadsheet to be pasted to Columns (H5:H54) in the second spreadsheet and the monthly data for dental/medical columns (AW10:BO29) in the first spreadsheet pasted into columns (J5:AA54) in the second spreadsheet. Once that is done I need the data for the next section to be copied from the first sheet into the second sheet the same way along with the repeat of the data in columns (C10:I29) the Employee Number,Business Area,Paytype,CostCenter,Company,Department and profit center. But I need to figure out dynamically what the last row of data that was copied from sheet 1 into sheet 2 so that the next section of data will not copy over the first section of data. This has to occur for multiple employees and accounts so there could be thousands of rows of data to be copied and moved to the second spreadsheet. Any help would be appreciated. The workbook was too big for me to post them in the same workbook. So I separated them into two workbooks but in the solution both spreadsheets will be in the same workbook. I am Using Excel 2007.
Example of Columns C-I
[TABLE="width: 706"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 706"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]EMP[/TD]
[TD]BA[/TD]
[TD]PT[/TD]
[TD]CC[/TD]
[TD]COMP[/TD]
[TD]DPT[/TD]
[TD]PC[/TD]
[/TR]
[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example of DentMed Calculation Section Columns (AW-BO)
[TABLE="width: 558"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD] [TABLE="width: 558"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD]FIN ACCOUNT[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example of Combined:
[TABLE="width: 1264"]
<colgroup><col><col><col><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD]EMP[/TD]
[TD]BA[/TD]
[TD]PT[/TD]
[TD]CC[/TD]
[TD]COMP[/TD]
[TD]DPT[/TD]
[TD]PC[/TD]
[TD]FIN ACCOUNT[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[/TR]
[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[TD]650120[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1195"]
<colgroup><col><col><col><col><col><col><col><col><col span="5"></colgroup><tbody>[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[/TR]
</tbody>[/TABLE]
The section in bold is the second set of calculations that should be copied it is the Long Term Insurance Calculations. I tried to line them up accordingly. I need to figure out how to get the last row of data that was copied for the DentMed section so that when I copy the Long Term Insurance Section to the second sheet it will not over write any part of the DentMed section. Any help would be greatly appreciated.
Example: For the Dental/Medical section in the first spreadsheet starts at column (C10:I29) which is (Employee Number,Business Area,Paytype,CostCenter,Company,Department and profit center). This is the first section that has to be copied into the second spreadsheet starting at column (A5:G54). Once that is copied over I need the data in columns (AW10:BO29) copied over to the second spreadsheet. But I need the data for the FIN Account column (AW10:AW29) in the first spreadsheet to be pasted to Columns (H5:H54) in the second spreadsheet and the monthly data for dental/medical columns (AW10:BO29) in the first spreadsheet pasted into columns (J5:AA54) in the second spreadsheet. Once that is done I need the data for the next section to be copied from the first sheet into the second sheet the same way along with the repeat of the data in columns (C10:I29) the Employee Number,Business Area,Paytype,CostCenter,Company,Department and profit center. But I need to figure out dynamically what the last row of data that was copied from sheet 1 into sheet 2 so that the next section of data will not copy over the first section of data. This has to occur for multiple employees and accounts so there could be thousands of rows of data to be copied and moved to the second spreadsheet. Any help would be appreciated. The workbook was too big for me to post them in the same workbook. So I separated them into two workbooks but in the solution both spreadsheets will be in the same workbook. I am Using Excel 2007.
Example of Columns C-I
[TABLE="width: 706"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 706"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]EMP[/TD]
[TD]BA[/TD]
[TD]PT[/TD]
[TD]CC[/TD]
[TD]COMP[/TD]
[TD]DPT[/TD]
[TD]PC[/TD]
[/TR]
[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example of DentMed Calculation Section Columns (AW-BO)
[TABLE="width: 558"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD] [TABLE="width: 558"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD]FIN ACCOUNT[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[/TR]
[TR]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Example of Combined:
[TABLE="width: 1264"]
<colgroup><col><col><col><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD]EMP[/TD]
[TD]BA[/TD]
[TD]PT[/TD]
[TD]CC[/TD]
[TD]COMP[/TD]
[TD]DPT[/TD]
[TD]PC[/TD]
[TD]FIN ACCOUNT[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[TD]DENTMED[/TD]
[/TR]
[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[TD]650120[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[TD="align: right"]$126.96[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[TD]650120[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[TD="align: right"]$412.00[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[TD]650120[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[TD="align: right"]$957.63[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1195"]
<colgroup><col><col><col><col><col><col><col><col><col span="5"></colgroup><tbody>[TR]
[TD]E_1[/TD]
[TD]BUSINESS AREA 1[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 1[/TD]
[TD]COMPANY 1[/TD]
[TD]DEPARTMENT 1[/TD]
[TD]PROFIT CENTER 1[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[/TR]
[TR]
[TD]E_2[/TD]
[TD]BUSINESS AREA 2[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 2[/TD]
[TD]COMPANY 2[/TD]
[TD]DEPARTMENT 2[/TD]
[TD]PROFIT CENTER 2[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[TD="align: right"]$18.53[/TD]
[/TR]
[TR]
[TD]E_3[/TD]
[TD]BUSINESS AREA 3[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 3[/TD]
[TD]COMPANY 3[/TD]
[TD]DEPARTMENT 3[/TD]
[TD]PROFIT CENTER 3[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[/TR]
[TR]
[TD]E_4[/TD]
[TD]BUSINESS AREA 4[/TD]
[TD]PT_ExPatNonUS[/TD]
[TD]COST CENTER 4[/TD]
[TD]COMPANY 4[/TD]
[TD]DEPARTMENT 4[/TD]
[TD]PROFIT CENTER 4[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[TD="align: right"]$163.67[/TD]
[/TR]
[TR]
[TD]E_5[/TD]
[TD]BUSINESS AREA 5[/TD]
[TD]PT_ExPatUS[/TD]
[TD]COST CENTER 5[/TD]
[TD]COMPANY 5[/TD]
[TD]DEPARTMENT 5[/TD]
[TD]PROFIT CENTER 5[/TD]
[TD][/TD]
[TD]650160[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[TD="align: right"]$65.47[/TD]
[/TR]
</tbody>[/TABLE]
The section in bold is the second set of calculations that should be copied it is the Long Term Insurance Calculations. I tried to line them up accordingly. I need to figure out how to get the last row of data that was copied for the DentMed section so that when I copy the Long Term Insurance Section to the second sheet it will not over write any part of the DentMed section. Any help would be greatly appreciated.