Hi all, I'm after a formula to search for a string of text in range which is in the same row, and return the value of the cell to the left of where that value has been found.
So for example cell A contain Names, then row B is where I'd like my "goal" to be, then columns C to G is the range of values that I'd like to use to find my goal.
i.e.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Names
[/TD]
[TD]Goal
[/TD]
[TD]Col C
[/TD]
[TD]Col D
[/TD]
[TD]Col E
[/TD]
[TD]Col E
[/TD]
[TD]Col F
[/TD]
[TD]Col G
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[TD]terry
[/TD]
[TD]2
[/TD]
[TD]David
[/TD]
[TD]66
[/TD]
[TD]anthony
[/TD]
[/TR]
[TR]
[TD]Peter
[/TD]
[TD]67
[/TD]
[TD]11
[/TD]
[TD]john
[/TD]
[TD]36
[/TD]
[TD]james
[/TD]
[TD]67
[/TD]
[TD]PETER
[/TD]
[/TR]
</tbody>[/TABLE]
(I'd like to use a formula - as opposed to a macro. And I'd like the search to "not" be case sensistive
I've found a few pointers to do with indexes, matches and offsets, but I'm really struggling!
Best Regards
Neil
So for example cell A contain Names, then row B is where I'd like my "goal" to be, then columns C to G is the range of values that I'd like to use to find my goal.
i.e.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Names
[/TD]
[TD]Goal
[/TD]
[TD]Col C
[/TD]
[TD]Col D
[/TD]
[TD]Col E
[/TD]
[TD]Col E
[/TD]
[TD]Col F
[/TD]
[TD]Col G
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[TD]terry
[/TD]
[TD]2
[/TD]
[TD]David
[/TD]
[TD]66
[/TD]
[TD]anthony
[/TD]
[/TR]
[TR]
[TD]Peter
[/TD]
[TD]67
[/TD]
[TD]11
[/TD]
[TD]john
[/TD]
[TD]36
[/TD]
[TD]james
[/TD]
[TD]67
[/TD]
[TD]PETER
[/TD]
[/TR]
</tbody>[/TABLE]
(I'd like to use a formula - as opposed to a macro. And I'd like the search to "not" be case sensistive
I've found a few pointers to do with indexes, matches and offsets, but I'm really struggling!
Best Regards
Neil
Last edited: