Automatically Append Excel Data to another Dataset

Vasweetheart05

New Member
Joined
Nov 5, 2016
Messages
27
I'm trying to automatically append any new data from one excel tab (ReportExport) to another tab (MappingTool) if the vlookup on the MappingTool tab is equal to N/A.

Example: A new ReportExport is run everyday. The Report Export is linked to the Mapping Tool tab using a VLooup to confirm the Expense Description is listed on the Mapping Tool tab. If the Expense Descr. is missing, then an error (N/A) value is returned. For all descriptions with an error message, I'd like the Expense Account # and Expense description to be appended to the bottom of the MappingTool tab (row 5 using the example below). I want this to continue to occur for any new expenses added to the ReportExport and continuously append to the last (blank) rows on the Mapping Tool tab.

Tab: ReportExport
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Expense Account #
Column A, Row1[/TD]
[TD]Expense Descrip.
Column B, Row1[/TD]
[TD]Vlookup to Mapping Tool
Column C, Row1[/TD]
[/TR]
[TR]
[TD]50060[/TD]
[TD]Accrued Accounts Payable[/TD]
[TD]Accrued Media Payable[/TD]
[/TR]
[TR]
[TD]50065[/TD]
[TD]Accrued Media Payable[/TD]
[TD]Accrued Media Payable[/TD]
[/TR]
[TR]
[TD]70071[/TD]
[TD]Cash In Transit[/TD]
[TD]Cash In Transit[/TD]
[/TR]
[TR]
[TD]80011[/TD]
[TD]Cash in Bank[/TD]
[TD]N/A[/TD]
[/TR]
</tbody>[/TABLE]


Tab: MappingTool
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Expense Account #
Column A, Row1[/TD]
[TD]Expense Descrip.
Column B, Row 1[/TD]
[TD]Category
Column C, Row1[/TD]
[/TR]
[TR]
[TD]50060[/TD]
[TD]Accrued Accounts Payable[/TD]
[TD]Accounts Payable[/TD]
[/TR]
[TR]
[TD]50065[/TD]
[TD]Accrued Media Payable[/TD]
[TD]Accounts Payable[/TD]
[/TR]
[TR]
[TD]70071[/TD]
[TD]Cash in Transit[/TD]
[TD]Cash[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Note: Category will be a manual update.
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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