An expert who has achieved level 2 by getting 100 points
An expert that got 10 achievements.
An expert that got 5 achievements.
An expert whose answer got voted for 100 times.
Re: how to use vlookup in openoffice using different...
The cell I created this formula in was Sheet 3 Cell C9 - to show the different sheets A2 is the cell I want to look up Sheet1.A3:D27 is the range of cells that contains the data I want to return, The first column relates directly to cell C9 is Sheet 3. I locked the first cell in my range as I wanted to apply the same formula across other cells hence the $ 2 is the number of the column that has the data I want to return, I had a choice in this formula of 4 columns 0 is the value to complete the formula
- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
Hi Anonymous, I want to help you with your problem, but I need more information from you. Can you please add details in the comment box?
In general, VLookUp can be used to find a value within a range (that's organised vertically), and then return a corresponding value from an adjacent column.
If you can describe in a little more detail what you want to do, I'm sure we can figure out a way to get it done.
The VLOOKUP function is a handy one to know when you want Excel to
lookup a value in one place and insert it in another. For example,
let’s say you have a list of all of your customers on a sheet named
“Accounts” and an invoice on another sheet named “Invoice”. When you
type in their account number on the Invoice, you want Excel to fill in
the name of the customer and their address (and this information is
included for all customers on the Accounts sheet). A VLOOKUP will do
this for you.
I love vlookup!
Suppose you have 1 worksheet with song numbers and titles in Row 1, Cols A:B:
123 Love Me Tender
234 Blue Suede Shoes
Another worksheet has song number and performer in Row 1, Cols A:B
123 Elvis Presley
234 Carl Perkins
Notice there is NO performer for song number 345 in the 2nd worksheet.
Now in the 1st work sheet, cell C2 insert this LOOKUP function: =LOOKUP(A2,Sheet2!A:B)
Copy that cell to row 3 and row 4 in Col C. You should get a Performer for all songs even though there is not a song number 345 in the performer worksheet.
Help me out Mr. VLOOKUP.
Insert this VLOOKUP function in cell C2 of the first worksheet: =VLOOKUP(A2,Sheet2!A:B,2,0)
Copy that cell to row 3 and row 4 Col C. You should get the performer names for the 1st 2 songs, but not for 345 Dixie. The result should be #N/A.
That means VLOOKUP could not find a DIRECT match for song 345 in the second worksheet.
That is why I prefer VLOOKUP over LOOKUP.
I have found this explaination of the VLOOKUP parameters helpful:
1. Needle (A2)
2. Haystack (Sheet2!A:B)
3. RELATIVE Col containing result (2)
4. Need DIRECT MATCH ONLY (0)
Hope this helps.
Let me know if you have any questions.