Solved

drop down menu in excel 2007 update multiple fiels on PO form

Posted on 2012-04-13
2
234 Views
Last Modified: 2012-04-17
Hello,

I have sheets in excel 2007.
1'st keeps vendor info like name, address, phone etc
2'nd is PO form.
I'd like have opportunity to pickup vendor name on PO form from drop down list (working right now) and other fields (address, phone, contact) should fill up automatically based on my selection.
How can I do that ? What will be best solution ?
0
Comment
Question by:henryk123
[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
2 Comments
 
LVL 42

Accepted Solution

by:
dlmille earned 500 total points
ID: 37845613
The best solution is to build a lookup formula based on what is being dropped down by your data validation list or combobox list dropdown for each of the fields you want to populate.

Typically, this can be accomplished using VLOOKUP of the value selected and a table of options.

For example, if your drop down list is keyed to Months, and you have a table of months wit values next to them, the formula would looks something like:

=Vlookup(A1,table_Range,column_In_Table,0) '0 is for exact match

This assumes A1 has a month in it, and the table looks like:

F1            G1          H1     I1  
Month     Revenue Opex Income
January   100         55     45
etc... to row 13 for the header and 12 months, for example.

Let's say A1 dropdown selected was = "January"  and you want B1 to have January's Revenue:

so in B1 you might have
[B1]=Vlookup(A1,$F$1:$I$13,2,0) 'would return January's revenues of 100


If you post a sample workbook, I can assist.

Cheers,

Dave
0
 

Author Closing Comment

by:henryk123
ID: 37855850
Working good, thx a lot
Points are yours.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

688 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