Can someone give me a formula please that looks up a column of data and finds the word Yes, then returns the value in the cell below Yes.
Thanks in advance
Chambo
Can someone give me a formula please that looks up a column of data and finds the word Yes, then returns the value in the cell below Yes.
Thanks in advance
Chambo
Chambo1160
Try this:
=INDEX(A:A,MATCH("Yes",A:A,0)+1)
Hope this helps.
Pete
INDEX(A1:A20,MATCH("Yes",A1:A20,0)+1)
Thanks Pete, does that mean the above. Neither formula are working
Your formula is the same, but just covers the range A1:A20. However, the first range in the formula should be offset by 1 and then you don't need the +1, like this:
=INDEX(A2:A21,MATCH("Yes",A1:A20,0))
What does "not working" mean? Are you getting errors returned, or the wrong values? Please post an example workbook so I can see what's happening.
Pete
Thanks Pete, it works in a fresh spread sheet. Not sure whats going on with the original so wont send it in case it has a cold or something.
Best Regards
Chambo
Okay, Martin. Understood. Glad you got it working.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks