Hi,
I have two columns of data that I want to extrapolate out but struggling to get the final bit of code to complete it.
I understand running this as an array will be the best option as the final row count once completed will be over 100,000.
In a basic example I have 3 rows of data in column A and 2 rows of data in column B. eg:
A B
Apple Farm
Orange House
Banana
The number of rows for the final product will be 6 (3 x2)
The final outcome should look like this, Where each A should be linked to a B:
A B
Apple Farm
Apple House
Orange Farm
Orange House
Banana Farm
Banana House
My code so far is:
Do I need a For Each element in arrLoc type of situation to loop this?HTML Code:
I tried various things but obviously they were off the mark, and I am sure the solution is probably easier than I think. Maybe I am overthinking it becuase it's an array.
Any help to complete the loop would be most appreciated.
Also, for the actual data I am using the final result could be between 100 and 200k rows. Will an array hold that much information and if so will this still take a very long time to process?
Thanks very much.
Bookmarks