Technology Get the latest on technology, electronics and software…

Excel Help!

Thread Tools
 
Old 11-30-2011, 06:32 AM
  #1  
Bent = #1
Thread Starter
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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?
Old 11-30-2011, 06:48 AM
  #2  
Drifting
iTrader: (1)
 
rza49311's Avatar
 
Join Date: Feb 2006
Location: Southern VA
Age: 45
Posts: 3,072
Received 8 Likes on 6 Posts
This might help.

http://www.get-digital-help.com/2009...okup-in-excel/
Old 11-30-2011, 07:10 AM
  #3  
Go Giants
 
Whiskers's Avatar
 
Join Date: Aug 2004
Location: PA
Age: 53
Posts: 69,918
Received 1,236 Likes on 825 Posts
4?
Old 11-30-2011, 09:50 AM
  #4  
Unofficial Goat
iTrader: (1)
 
The Dougler's Avatar
 
Join Date: Jul 2006
Location: Toronto
Age: 39
Posts: 15,744
Received 112 Likes on 89 Posts
Possibly using the match function.
Old 11-30-2011, 12:00 PM
  #5  
Senior Moderator
 
oo7spy's Avatar
 
Join Date: Dec 2010
Location: Austin, TX
Posts: 31,897
Received 7,249 Likes on 4,859 Posts
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.
Old 11-30-2011, 01:25 PM
  #6  
Team Owner
 
svtmike's Avatar
 
Join Date: Oct 2003
Location: Chicago
Age: 60
Posts: 37,666
Received 3,864 Likes on 2,031 Posts
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.
Old 11-30-2011, 01:34 PM
  #7  
Senior Moderator
 
oo7spy's Avatar
 
Join Date: Dec 2010
Location: Austin, TX
Posts: 31,897
Received 7,249 Likes on 4,859 Posts
This is what I see while reading your suggestion.
Old 11-30-2011, 01:39 PM
  #8  
Team Owner
 
svtmike's Avatar
 
Join Date: Oct 2003
Location: Chicago
Age: 60
Posts: 37,666
Received 3,864 Likes on 2,031 Posts
That's kind of what I see when trying to discern what he's trying to do.
Old 11-30-2011, 01:41 PM
  #9  
Senior Moderator
 
oo7spy's Avatar
 
Join Date: Dec 2010
Location: Austin, TX
Posts: 31,897
Received 7,249 Likes on 4,859 Posts
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.
Old 12-01-2011, 07:35 PM
  #10  
Drifting
 
65 Fury Convert's Avatar
 
Join Date: Feb 2002
Posts: 2,637
Received 21 Likes on 19 Posts
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.
Old 12-01-2011, 07:40 PM
  #11  
Drifting
 
65 Fury Convert's Avatar
 
Join Date: Feb 2002
Posts: 2,637
Received 21 Likes on 19 Posts
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Yumcha
Automotive News
70
12-07-2020 05:39 PM
Yumcha
Automotive News
4
08-15-2019 12:58 PM
08_UA7_Gr33k
Member Cars for Sale
13
02-11-2016 02:17 PM
InFaMouSLink
Car Parts for Sale
6
10-27-2015 06:52 PM
08_UA7_Gr33k
Member Cars for Sale
1
09-27-2015 01:56 PM



Quick Reply: Excel Help!



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