Ok, I have a range of cells. I give 3 examples. I am looking for the first cell to match my text, in the example its "Y". And return that column header value.
In Group A the search range is B3:D13. The First Y is in D4. I need the value of that column header, which is in D2, which is 9.
In Group B the search range is G3:I13. The First Y is in I3. I need the value of that column header, which is in I2, which is 8.
In Group C the search range is L3:N13. The First Y is in N6. I need the value of that column header, which is in N2, which is 7.
The example shows the first "Y" is always in the 3rd column that won't always be the case.
I have looked that these 2 solved post but they did work.
https://www.excelforum.com/excel-gen...ell-value.html
https://www.excelforum.com/excel-for...this-text.html
Bookmarks