Solved

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

Posted on 2012-04-13
2
225 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
2 Comments
 
LVL 41

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
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…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now