SOLVED

finding the location of a value in a range of cells

Brass Contributor

If I have a set of cells (let's say A2:A30), and in A4 I have the word "Test", is there a formula that from another cell, will tell me either:

 

- BEST CASE: "Test" is in the 3rd position in the array

- STILL USEFUL: "Test" is on row 4

 

Thanks for any guidance.

1 Reply
best response confirmed by txrussianguy (Brass Contributor)
Solution
This formula returns 3, which is the position of the word "Test" in the array:
=MATCH("Test",A2:A30,0)
1 best response

Accepted Solutions
best response confirmed by txrussianguy (Brass Contributor)
Solution
This formula returns 3, which is the position of the word "Test" in the array:
=MATCH("Test",A2:A30,0)

View solution in original post