Here we can use the VLOOKUP () function In cell K3 type the formula =VLOOKUP ($J3,$D$3:$E$8,2,0) VLOOKUP (result_of_name_rank, select_ data_name_and_sales,2 second value, 0 and close) Type K3 =VLOOKUP (select the J3 {with $ sing for lock the J Column} And select the data from D3:E9 {D with $ sing for lock the D Column}