Comparing Arrays

heimdaloz

New Member
Joined
Feb 1, 2018
Messages
10
Hi,

I have two arrays that contain a date, amount and description. I need to compare the two arrays and then process the differences.

Possibly place the contents in another array so they can be processed or output them into a sheet.

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,

Unfortunately your request is too generic ...

How do you define " compare " ?

Are the differences from field to field ... or between their respective concatenations ...?
 
Upvote 0
Thanks James.

I am loading a bank statement into an array and I want to load the data into a spreadsheet that has the transactions for the financial year.

The first file of the year loads the statement into an array and then outputs into a sheet. I was hoping the subsequent file could be loaded into an array and then I would load the existing financial data into another array. Compare the two and find those transactions that only exist in the new file. I could then output the data into the exist spreadsheet, avoiding duplicates. I had thought I would load the difference into an array and then output it.

I figure if I compare the transaction date, amount and description, where I can't find a match I would then write the record out.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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