Returning Multiple results to then create a drop down list

Davereau

New Member
Joined
Feb 15, 2016
Messages
30
We utilize the following table in a database for customer contact information. I am creating a new form in excel that requires an individual contact from a customer. Since we have multiple contacts for each customer, i don't think a VLOOKUP function would work. On a separate tab, I am trying to create a list of the contact names for just the customer number I would input (column B) in the new excel form I am creating utilizing another excel file called table_CM_Contact.xlsx. After that, i can utilize VLOOKUP for all the other information. I have been researching and there is an index formula I have tried but it returns results for the whole table, not just the Cust Nbr that I am searching.

Any ideas?

Thanks in advance
David

table_CM_Contact.xlsx
ABCDEFGHI
1IDCust NbrContactTitleSalutationDepartmentPhoneExtensionEmail
21
0100001Bret NormalVP123-456-7890110bretn@xyz.com
320100001David GreatInside123-456-7890111davidg@xyz.com
432000009Matt GoofBuyer456-789-0123mattg@goof.com
542000009Janet RightBuyer456-789-0124janetr@goof.com
652000009Jeff MightyEngineer456-789-0125jeffm@goof.com
760300040Maria ClearBuyer789-012-3456mariac@help.com
870300040Pat MurphyBuyer789-012-3456patm@help.com
980300040Dillon ManSales789-012-3456dillonm@help.com
1090400050Adriana
Serve
Buyer012-345-6789adrianas@don.com
11100400050Francis KeyBuyer013-345-6789francisk@don.com

<tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
if you had on a sheet the customer name in say A1, then contact number in B1, and a second contact number in B2,

The second Customer name in A3, and contact number in B3 etc.

You could use an offset and match formula to get the numbers and use this in the data validation to create a drop down list of the number etc.
 
Last edited:
Upvote 0
use list in data validation and use =OFFSET(INDIRECT(("A"&MATCH(J4,A:A,0))),0,2,VLOOKUP(J4,A:B,2,FALSE),1)

name of contact in A1, number of different contact numbers in B1, Contact numbers in C1,C2,C3

Then leave a blank,

Contact 2 goes in A5, and repeat etc.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,225
Messages
6,129,601
Members
449,520
Latest member
TBFrieds

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top