?
Solved

excel dropdown list selected vlookup to another value

Posted on 2014-09-18
7
Medium Priority
?
293 Views
Last Modified: 2014-09-18
I have a workbook with a couple tabs and one has drop down lists that connects to other tabs to prefill the dropdown list.

so on my main tab column B is a drop down which selects data from TAB(Territory) Column A.  When the user selects on of the drop downs I also want Column C of the current tab to be filled with the corresponding Column B from Territory.  Is there a built in or vlookup?
0
Comment
Question by:Matt Pinkston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40330910
Exactly...a VLOOKUP should suffice in this scenario.  If your data starts in row 2, insert this function in cell C2 and copy down:
=VLOOKUP(B2,Territory!B:B,1,FALSE)

Regards,
-Glenn
0
 

Author Comment

by:Matt Pinkston
ID: 40330925
it is not brining the value from Territory Column B across when Column A is a match
0
 
LVL 23

Expert Comment

by:NBVC
ID: 40330937
Maybe:

=VLOOKUP(B2,Territory!A:B,2,FALSE)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40330938
My apologies... I was too quick to answer.  The formula should be:
=VLOOKUP(B2,Territory!A:B,2,FALSE)

Regards,
-Glenn
0
 

Author Comment

by:Matt Pinkston
ID: 40330940
in column C I am hoping to get column B from territory when current tab Column B = Territory Column A
0
 

Author Comment

by:Matt Pinkston
ID: 40330945
anyway to get rid of #N/A
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 2000 total points
ID: 40330948
Yep:
=IFERROR(VLOOKUP(B2,Territory!A:B,2,FALSE),"")

This returns a blank cell if it can't find the value.  If you want another message, change the "" to "not found" or similar.

-Glenn
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question