excel - Combining Match and Offset -
I want to use a match function to find a value from a named range (say, value in A3) And then want to use offset, from the nominated range, the named category is called "category" to give the value of the value of the search value I wrote something about it:
= OFFSET ( MATCH (category, A3, 0)), 1, 1, 1, 1)
This is not working, how do I work it out?
match
returns a number; OFFSET
requires a category as a reference
In addition, MATCH
requires a value as the first argument and the second As there is a limit.
The following tasks
= OFFSET (category, MATCH (A3, range, 0) -1, 1)
Assuming that you are looking for value in the column A3
CATEGORY
Note that for the first cell MATCH
Return 1
- So you have to deduct one line to stay on it; Similarly, you need an offset column of +1
to get the "cell to the right". The third argument for 0
MATCH
means "exact match."
Examples of this formula at work:
Comments
Post a Comment