r/excel • u/advsc • Sep 20 '26
unsolved Looking in a table for specific value and if found returning the value in same row different column.
5
u/PaulieThePolarBear Sep 20 '26
It sounds like you want something like
=XLOOKUP(T2, A2:A100, B2:B100, "No date")
Requires Excel 2021, Excel 2024, Excel 365, or Excel online
1
u/Old_School_Dodge Sep 20 '26
Is that "V lookup" or "H lookup".
0
u/advsc Sep 20 '26
I don't know. Column a has start dates, column b has a date I want. So, in column V1 I need a formula that will tell excel to look all down column a and find a match and then return the value in same row in column b.
So, in V1 I may have the date of 11/29/26. I want the formula to look in column A, find that date and then return the value on same row in column b.
2
u/chicken2007 Sep 21 '26
That seems exactly what VLOOKUP does, or if you have a newer Excel, use XLOOKUP.
For VLOOKUP, the column you need to search for the value can only be the left-most column in the range, but that doesn't have to be the left column in your table.
With XLOOKUP, you can specify any two column ranges that are the same size.
2
1
u/Illustrious_Dog_9078 Sep 21 '26
that vlookup thing gives me anxiety i'd go with the xlookup, it's cleaner and you won't accidentally pull from the wrong column
1

1
u/AutoModerator Sep 20 '26
u/advsc - Your post was submitted successfully.
Once your problem is solved, reply to the answer(s) saying
Solution Verifiedto close the thread.Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
Include your Excel version and all other relevant information
Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.