In cell F4:
=IFERROR(VLOOKUP($E4,$A:$C,2,FALSE),"")
In cell G4
=IFERROR(VLOOKUP($E4,$A:$C,3,FALSE),"")
Then copy down. This will do the job for you.
The IFERROR bit just leaves the cell blank if the input cell is blank or data isn't found in the original table. VLOOKUP is the bit that finds the data from your table.
The first bit is the cell which contains the data to look for (E4), the second bit is the location of the data (A:C - note the whole column is referenced so that extra rows added later on will be included in the search), the third bit is the column number of the original table which contains the value to return and FALSE means this must be an exact match.
I recommend you search fro more info on VLOOKUPs to help give you a better understanding of this formula.
Bookmarks