I need a formula that can return the value from a cell in the same row it searches. The row is unsorted and has blank cells.
Seacchs row A12:X12 returns the text in C4 (data validation List) in A19 on a different sheet.
I need a formula that can return the value from a cell in the same row it searches. The row is unsorted and has blank cells.
Seacchs row A12:X12 returns the text in C4 (data validation List) in A19 on a different sheet.
C4 is not in the same row - please explain in more detail.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Searchs row A12:X12 using the text from C4.(my bad)
I´ve bin trying HLOOKUP AND LOOKUP AND INDEX the poblume is they can't return a value from a row they use to search. I am looking for a formula that can search and retriev data from the same row.
To what end?
Say it finds the value in G12, what cell do you want to return a value from?
Sorry, but you're not providing enough information.
WHICH value do you want to actually return based on where C4 is found in A12:X12 ?
To clarify, Hlookup and Lookup indeed CAN return a value from the same row it searches.
Though it's likely not the correct value that you want (you haven't told us which one you actually want).
It can be made to simply return the cell that it found the match in.
=HLOOKUP(C4,A12:X12,1,FALSE)
If C4 happened to be in say G12, then the formula would return the value in G12. Which just happens to be the same value as C4
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks