Your current formula is perfect #Num in your formula refers that there is no matching value found in column A