[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

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

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
henryk123
Asked:
henryk123
1 Solution
 
dlmilleCommented:
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
 
henryk123Author Commented:
Working good, thx a lot
Points are yours.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now