To retrieve employee information in Excel, use this formula in K7: =INDEX($B$6:$H$25, MATCH(J7, $B$6:$B$25, 0), MATCH(K6, $B$5:$H$5, 0)).
What does this formula do?
This formula relies on two MATCH functions nested within an INDEX function. The first MATCH finds the chosen Employee_ID in column B, while the second MATCH identifies the selected category (e.g., Salary) in the header row.
INDEX then fetches the corresponding data from the intersecting row and column within the specified range ($B$6:$H$25). Ensure your cell references match the data layout for accurate retrieval when selecting an Employee_ID in J7 and a category in K6.