create an excel formula to solve the following problem. I require a search of a term in…
- User
create an excel formula to solve the following problem. I require a search of a term in cell J5 on Sheet 1, that is also on a different sheet (Sheet 2) which needs to be matched and then return the value that is in a different cell 2 columns along from this on sheet 2. This value from sheet 2 be returned, back in a cell G1 on sheet 1
- Assistant
You can use the INDEX and MATCH functions to achieve this in Excel. The MATCH function will give you the position (row number) of the term in cell J5 on Sheet 2, while the INDEX function will allow you to return the value 2 columns to the right of the matched value.
Assuming the data in Sheet 2 starts from cell A1 and extends down an indeterminate number of rows, here is a formula you can place in cell G1 on Sheet 1:
=INDEX(Sheet2!C:C, MATCH(Sheet1!J5, Sheet2!A:A, 0))Explanation: