=IF(VLOOKUP(P12,F6:G12,2,FALSE)>0,VLOOKUP(P12,F6:G 12,2,FALSE),"No entry here")
P12 = the company name
F6:G12 = the array that you are looking in
2 = the column number of that array that the dates are in
False = means they dont have to be in order
I just tried it in excel and it worked
Case closed