Hi all again! (Still working on aspects of the FDA adverse events database)
I wish to find the Patient ID (ISR) that occurs in a list (only 2 columns).
The following array formula that I came up with:
{ =COUNTIF(A2:A1000,INDEX(A2:1000,MATCH(MAX(COUNTIF(A2:1000,A2:A1000)),COUNTIF(A2:A1000,A2:A1000),0))) }
works a treat on a list/file with around 1000 rows, however the files I am playing with have around 300,000 rows and it takes far too long (not bothered to try to wait - gave up after 10 mins).
I am sure there must be a much more computationally elegant and less resource intense way of performing the same calculation - Likely VB?. - Please suggest.
Attached is a sample of the first 1000 rows for testing.
Bookmarks