I have a very large database (4 separate columns) with between 400,000 and 600,000 rows and I need to lookup a registration number in each one and if 2 or more events happened on the same date then return 1 as 'meeting criteria.'
I made an example sheet with the expected output. Column Q has the Lookup value and R has the expected output. So basically, the number in Q should be looked up in A, E, I, and M and then if the MEAS_DATE is the same and MEETS_CRITERIA =1 in 2 or more columns, then the output should be 1.
I have tried to figure out a way to do this with what knowledge I have of excel but am struggling to figure out how do this. any help would be appreciated.
Example_factors.xlsx
Bookmarks