Hi All,
I am trying to use VLOOKUP to find a name in column J and return the date it was entered from column A. All the examples show returning a result from the column to the right of the search column. Can you tell me if VLOOKUP only works to the right and if/how I can find the date I need.
Thanks
Michael
[Solved] VLOOKUP to the left column?
-
- Posts: 83
- Joined: Sun Jan 17, 2010 10:00 pm
[Solved] VLOOKUP to the left column?
Last edited by TengoKbailar on Sat Jul 11, 2015 5:10 am, edited 1 time in total.
OpenOffice 4.1.3 on MacOS X
Re: VLOOKUP to the left column?
I'd suggest using a combination of INDEX and MATCH rather than VLOOKUP
VLOOKUP only returns information located to the right of the lookup column.
VLOOKUP only returns information located to the right of the lookup column.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
-
- Posts: 83
- Joined: Sun Jan 17, 2010 10:00 pm
Re: VLOOKUP to the left column?
Hi RusselB,
I thought that would be the case with VLOOKUP.
I can do the match part but how do I incorporate the INDEX into the formula?
Thanks
Michael
I thought that would be the case with VLOOKUP.
I can do the match part but how do I incorporate the INDEX into the formula?
Thanks
Michael
OpenOffice 4.1.3 on MacOS X
Re: VLOOKUP to the left column?
The formula will have the form
assuming the dates you want to return are in the range A2:A100. If the value you are looking for is in B1, the formula might be
Code: Select all
=INDEX(A2:A100;MATCH())
Code: Select all
=INDEX(A2:A100;MATCH(B1;J2:J100;0))
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
-
- Posts: 83
- Joined: Sun Jan 17, 2010 10:00 pm