I'm looking to find the correct ID within a group of zip codes. The conditions are that the Name and Address should (closely) match and the Term Date should be null. If there are Term Dates for all rows in that zip code then the result would simply be "Term." See the highlighted groupings of zip codes and the correct ID (there could be several IDs but I'm just looking at the first Name and Address match going up the list).