NOTE: Scheduled Maintenance for July 5th from 11AM-12PM EDT
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Business Applications
Tag Cloud
audio blue screen boot bsod computer connection crash dell drivers dvd email error excel firefox game graphics hard drive hardware hijackthis install internet itunes keyboard laptop malware monitor motherboard network outlook outlook 2003 outlook 2007 problem registry cleaner registry cleaners router screen slow sound trojan upgrade usb video virus vista windows windows 7 windows vista windows xp wireless word
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel Vlookup help needed

Tip: Click Here to Update All Your PC's Outdated Drivers
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Ref2335's Avatar
Computer Specs
Senior Member with 110 posts.
 
Join Date: Jun 2006
04-Jun-2007, 04:12 PM #1
Solved: Excel Vlookup help needed
I'm wondering if the Vlookup function can help with what I am attempting to do in Excel.

I'll try to explain what I want I need to have happen.
Cell A will contain a set value which the Vlookup will use as the row reference for the Vlookup.
Cell B will contain a value that represents a column on my reference value list, but it is variable and changes depending on what the initial value is in Cell A.
Cell C is where the final value is shown.

I have found, so far, a Vlookup will only tie on a 1-1 relationship. Can I get it to tie to a 1-many relationship, and how can I get it to do that? I'd prefer not to share the database as it contains very confidential information.

thanks!
bomb #21's Avatar
Distinguished Member with 6,988 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
04-Jun-2007, 05:53 PM #2
I'm probably barking up the wrong tree but ... are you looking for a two-way lookup?
Ref2335's Avatar
Computer Specs
Senior Member with 110 posts.
 
Join Date: Jun 2006
05-Jun-2007, 09:44 AM #3
That looks like it!! I tried to use that and it seems really close. The problem I'm runing into is that its returning a value from an incorrect cell. I think we're on the right path, how do I get it to return the value from the correct cell?

Last edited by Ref2335 : 05-Jun-2007 09:57 AM.
bomb #21's Avatar
Distinguished Member with 6,988 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
05-Jun-2007, 12:04 PM #4
Create a workbook with a small sample of your data and upload it -- we probably need to look at the cell B thing.
Ref2335's Avatar
Computer Specs
Senior Member with 110 posts.
 
Join Date: Jun 2006
05-Jun-2007, 12:25 PM #5
Here is a sample of what I'm working on. It seems it is pulling the value from sheet2 column C. Sorry to have to be cryptic on the data in the spreadsheet as its all confidential.
Attached Files
File Type: xls tsg help.xls (24.5 KB, 73 views)
bomb #21's Avatar
Distinguished Member with 6,988 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
05-Jun-2007, 12:43 PM #6
OK. I see that the combobox on Sheet1 is linked to B32 on Sheet2.

I don't follow the 2nd Choice/3rd Choice/4th Choice thing -- maybe you're thinking of adding more comboboxes later. (?)

But first, try these formulas in B12:E12 of Sheet1:

=INDEX(Sheet2!B$2:B$29,Sheet2!$B$32)

=INDEX(Sheet2!I$2:I$29,Sheet2!$B$32)

=INDEX(Sheet2!E$2:E$29,Sheet2!$B$32)

=INDEX(Sheet2!C$2:C$29,Sheet2!$B$32)

Are we close?
__________________
"Love All The People."
Bill Hicks, 1961 - 1994 -- R.I.P.

"I am against religion because it teaches us to be satisfied with not understanding the world."
Richard Dawkins

"OK, one last time. These are small... but the ones out there are far away. Small ... far away ..."
Father Ted
Ref2335's Avatar
Computer Specs
Senior Member with 110 posts.
 
Join Date: Jun 2006
05-Jun-2007, 04:48 PM #7
This is actually a spreadsheet that directs buyers where to look to buy parts. the 1st second 3rd etc are alternatives for the part that gets input by the drop down box. The cost field, the field I am having issues with(E12, E13, E14, E15), varies depending on the supplier which varies by where it falls in the heirachy.

B12:E12 are ok, they get populated by the dropdown. There should the same description in that field.
bomb #21's Avatar
Distinguished Member with 6,988 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
05-Jun-2007, 08:05 PM #8
Sorry, I don't really follow. The cost field ... well, which are the cost fields on Sheet2? sm -- dl -- v -- OEM -- U?

Try this in E12:

=INDEX(Sheet2!$M$2:$Q$29,Sheet2!$B$32,MATCH(D12,Sheet2!$M$1:$Q$1,0))

& copy down to E15. Then if the dropdown is Tube1, the "costs" should be:

more -- not much -- Contact team -- lots

E12 ("more") is picked up from Sheet2!N2 because "dl" matches Sheet2!N1 in Sheet2!M1:Q1.
E13 ("not much") is picked up from Sheet2!M2 because "sm" matches Sheet2!M1 in Sheet2!M1:Q1.

And so on.

Is that any closer?
__________________
"Love All The People."
Bill Hicks, 1961 - 1994 -- R.I.P.

"I am against religion because it teaches us to be satisfied with not understanding the world."
Richard Dawkins

"OK, one last time. These are small... but the ones out there are far away. Small ... far away ..."
Father Ted
Ref2335's Avatar
Computer Specs
Senior Member with 110 posts.
 
Join Date: Jun 2006
06-Jun-2007, 09:36 AM #9
Not only is that closer, ITS SPOT ON! Thanks for the help!!!!!
bomb #21's Avatar
Distinguished Member with 6,988 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
06-Jun-2007, 11:47 AM #10


I love it when a plan comes together (by accident ) -- enjoy.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:05 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Powered by Cermak Technologies, Inc.