I have a spreadsheet that I have set up to work with formulas currently but I would like some help creating it within VBA.
I have column A and B which are entry columns, one contains a number the other contains a country ISO code. Then in a separate column I concatenate these 2 columns into one column via =A2&" "&B2
Then I use a INDEX/MATCH formula =IFERROR(INDEX($U$2:$U$249, MATCH(0, INDEX(COUNTIF($I$1:I1, $U$2:$U$249), 0, 0), 0)), "") to get a list of unique results in a third Column indexed from the concatenated list.
How do I go about changing this to VBA? Any help would be appreciated.
I have column A and B which are entry columns, one contains a number the other contains a country ISO code. Then in a separate column I concatenate these 2 columns into one column via =A2&" "&B2
Then I use a INDEX/MATCH formula =IFERROR(INDEX($U$2:$U$249, MATCH(0, INDEX(COUNTIF($I$1:I1, $U$2:$U$249), 0, 0), 0)), "") to get a list of unique results in a third Column indexed from the concatenated list.
How do I go about changing this to VBA? Any help would be appreciated.