Hi
In one sheet in the workbook I have a list of customer names in A2:A1001 (Named: customer_names) with their corresponding membership numbers in B2:B1001 (Named: member_numbers).
In another sheet on the workbook I have a Data Validation (LIST) set up to create dropdown menus in the cells (example cell A2) to choose the customer name in the named range or to be able to type any customer name.
Is there any way in the adjacent cell to the Data Validation dropdown cell to be able to automatically fill the member number (example in cell B2) if a known name is chosen from the dropdown?
I think it will be a Worksheet_Change which will do a search when the customer name cell is changed (either by typing a name manually or selecting from the dropdown) and if it finds the name in the Named Range on the other sheet, it automatically changes the value of the cell to equal that of the membership number. If it doesn't find the name of the customer, it does nothing and allows the user to just manually enter a membership number.
I hope this makes sense,
Liam
In one sheet in the workbook I have a list of customer names in A2:A1001 (Named: customer_names) with their corresponding membership numbers in B2:B1001 (Named: member_numbers).
In another sheet on the workbook I have a Data Validation (LIST) set up to create dropdown menus in the cells (example cell A2) to choose the customer name in the named range or to be able to type any customer name.
Is there any way in the adjacent cell to the Data Validation dropdown cell to be able to automatically fill the member number (example in cell B2) if a known name is chosen from the dropdown?
I think it will be a Worksheet_Change which will do a search when the customer name cell is changed (either by typing a name manually or selecting from the dropdown) and if it finds the name in the Named Range on the other sheet, it automatically changes the value of the cell to equal that of the membership number. If it doesn't find the name of the customer, it does nothing and allows the user to just manually enter a membership number.
I hope this makes sense,
Liam