Solved

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

Posted on 2012-04-13
2
231 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

735 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