google sheets – Search function for columns and count data

I'm wondering if I can write a function to search for a specific name in a column of my worksheet, and then return x number of values ​​in the row (s) that contain the name. For example…

enter the description of the image here

M4 holds the position. The function looks for columns D, G, and J to find a match of the name in L4 (Owen). Owen's name may appear several times in the following lines. The function returns a cell value, for example B4, in M4.