#1
|
|||
|
|||
Vlookup
Can somebody please help me with a vlookup formula? If A1 matches E1, I need it to insert F1 into B (I tired to copy and paste the table in, but it smooshed it all together)
A1 - 001 B1 - #N/A C1 - 53729 D1 - 5024722001 E1 - 101 F1 - 20B The formula I created is =VLOOKUP(A1,Divisions,2,FALSE) Divisions = E & F What am I doing wrong? Last edited by kkerr; 08-29-2012 at 06:55 PM. Reason: Attaching a test file for example |
#2
|
||||
|
||||
Nothing I can see at first glance. What is going wrong?
You can post a sample sheet by clicking on "Go Advanced" and "Manage Attachments" in the additional Options window
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
I attached a file if it helps
|
#4
|
||||
|
||||
Firstly, your the range named Divisions is not defined.
Select col E and F and type "Divisions" (no quotes) in the space left of the formula bar Quote:
Is that what you want need ? If so, try Code:
=INDEX($E$2:$E$200,MATCH(A2,$F$2:$F$200,0),0)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
The thing with a VLOOKUP, it looks up to the right. So in your example the lookup table is E2:F200, If you swap the Columns around it should work. Otherwise use the INDEX & MATCH, to which I prefer.
|
#6
|
||||
|
||||
@Kev
FYI you can also use VLOOKUP to look left like this Code:
=VLOOKUP("x",CHOOSE({1,2},D2:D10,A2:A10),2,0)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#7
|
|||
|
|||
Yes I know you can use the CHOOSE Function. I was pointing out to the OP the way the VLOOKUP works!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vlookup | ibrahimaa | Excel | 5 | 03-04-2012 11:24 AM |
Vlookup | ibrahimaa | Excel | 8 | 01-03-2012 09:32 PM |
Vlookup | Karen615 | Excel | 4 | 09-12-2011 02:30 PM |
Can i do this with a VLookup? | foodstudent | Excel | 1 | 01-21-2011 12:34 AM |
Using IF & VLOOKUP together | junction | Excel | 7 | 11-18-2010 05:15 AM |