Finding missing values inside of a table using data from other fields of the table