Technology Get the latest on technology, electronics and software…

Excel Help!

Thread Tools
 
Old Nov 30, 2011 | 06:32 AM
  #1  
hornyleprechaun's Avatar
Thread Starter
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Excel Help!

A1 = VLOOKUP for Value of "1"
B1 = VLOOKUP for Value of "2"
C1 = VLOOKUP for Value of "3"

Col E --- Col F
1113 --- 1
1113 --- 2
1113 --- 3


If I do VLOOKUP(1113,E1:F3,2,FALSE) it returns a Value of "1"

How do I write the VLOOKUPs so I can lookup either of the 3 values for 1113?
Reply
Old Nov 30, 2011 | 06:48 AM
  #2  
rza49311's Avatar
Drifting
iTrader: (1)
 
Joined: Feb 2006
Posts: 3,072
Likes: 8
From: Southern VA
This might help.

http://www.get-digital-help.com/2009...okup-in-excel/
Reply
Old Nov 30, 2011 | 07:10 AM
  #3  
Whiskers's Avatar
Go Giants
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Aug 2004
Posts: 70,003
Likes: 1,260
From: PA
4?
Reply
Old Nov 30, 2011 | 09:50 AM
  #4  
The Dougler's Avatar
Unofficial Goat
iTrader: (1)
 
Joined: Jul 2006
Posts: 15,744
Likes: 112
From: Toronto
Possibly using the match function.
Reply
Old Nov 30, 2011 | 12:00 PM
  #5  
oo7spy's Avatar
Senior Moderator
 
Joined: Dec 2010
Posts: 31,897
Likes: 7,251
From: Austin, TX
The syntax of the function is (value, range, return column, exact match)

So you are asking for it to look for 1113, in the cells E1:F3, return the second column, and look for an exact match of 1113. Since it found 1113 in E1 and was an exact match, it returned the value of F1 which corresponds to the second column.

Why are all the E values 1113? That is what is stopping you.

You will likely have to use a different function if you cannot change "1113" for each cell.
Reply
Old Nov 30, 2011 | 01:25 PM
  #6  
svtmike's Avatar
Team Owner
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2003
Posts: 37,706
Likes: 3,904
From: Chicago
If you're trying to VLOOKUP the values in columns A,B,C based on the value in Column D and a column number in column E, you have to get the columns in a different order; the lookup column has to be the first in the range. Either re-arrange the columns, or set formulas in G=A, H=B, I=C, and then the third argument of your VLOOKUP should be F+2.
Reply
Old Nov 30, 2011 | 01:34 PM
  #7  
oo7spy's Avatar
Senior Moderator
 
Joined: Dec 2010
Posts: 31,897
Likes: 7,251
From: Austin, TX
This is what I see while reading your suggestion.
Reply
Old Nov 30, 2011 | 01:39 PM
  #8  
svtmike's Avatar
Team Owner
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2003
Posts: 37,706
Likes: 3,904
From: Chicago
That's kind of what I see when trying to discern what he's trying to do.
Reply
Old Nov 30, 2011 | 01:41 PM
  #9  
oo7spy's Avatar
Senior Moderator
 
Joined: Dec 2010
Posts: 31,897
Likes: 7,251
From: Austin, TX
Yes, he has three y values for one x value. The vertical line test fails, he doesn't have a true function, and inherently, the computer is doing the best it can.

He's doomed.
Reply
Old Dec 1, 2011 | 07:35 PM
  #10  
65 Fury Convert's Avatar
Drifting
 
Joined: Feb 2002
Posts: 2,637
Likes: 21
I use the vlookup function all the time. From what I know it won't do what you're trying it to get it to do. A vlookup matches data in a cell range and copies it to data on another spreadsheet.
Reply
Old Dec 1, 2011 | 07:40 PM
  #11  
65 Fury Convert's Avatar
Drifting
 
Joined: Feb 2002
Posts: 2,637
Likes: 21
Are you just trying to search for the cells that contain 1113? If so you could do a control "f", type in 1113 and it will find the 1113's for you
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Yumcha
Automotive News
70
Dec 7, 2020 05:39 PM
Yumcha
Automotive News
4
Aug 15, 2019 12:58 PM
08_UA7_Gr33k
Member Cars for Sale
13
Feb 11, 2016 02:17 PM
InFaMouSLink
Car Parts for Sale
6
Oct 27, 2015 06:52 PM
08_UA7_Gr33k
Member Cars for Sale
1
Sep 27, 2015 01:56 PM




All times are GMT -5. The time now is 03:16 PM.