Solved

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

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

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…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

777 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