A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Data Validation List - Can I have multiple ranges displayed?



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 06:09 AM posted to microsoft.public.excel.worksheet.functions
Jim
external usenet poster
 
Posts: 1,404
Default Data Validation List - Can I have multiple ranges displayed?

I am using Excel 2007.

I have two named ranges: Customer_ID and Customer_Name.

I currently have a data validation list with the source '=Customer_ID'.
This works fine to look up customer numbers or I can change the source to
'Customer_Name' and look up by name. At some times it's easier to lookup by
name, and others by number. Is it possible to have the drop down list
display both?

  #2  
Old March 23rd, 2010, 10:29 PM posted to microsoft.public.excel.worksheet.functions
Otto Moehrbach[_2_]
external usenet poster
 
Posts: 716
Default Data Validation List - Can I have multiple ranges displayed?

You would have to make a list of one column with the name and ID in each
cell. I don't think this would be useable because one of them would not be
sorted. Can you do with 2 DV cells, one for name and the other for ID and
let the user choose which one to use? HTH Otto

"Jim" wrote in message
...
I am using Excel 2007.

I have two named ranges: Customer_ID and Customer_Name.

I currently have a data validation list with the source '=Customer_ID'.
This works fine to look up customer numbers or I can change the source to
'Customer_Name' and look up by name. At some times it's easier to lookup
by
name, and others by number. Is it possible to have the drop down list
display both?

  #3  
Old March 24th, 2010, 04:07 AM posted to microsoft.public.excel.worksheet.functions
Jim
external usenet poster
 
Posts: 1,404
Default Data Validation List - Can I have multiple ranges displayed?

When someone chooses the Customer ID from the data validation list, a whole
group of VLOOKUP's activate lower in the sheet to look up that customers
records. The VLOOKUP's are seeing which record by the value of the Customer
ID cell. If I have another cell beside it for Customer Name, how would I set
it up so the VLOOKUP so it knows which to check? I imagine there is an easy
way to do in VBA, but I would prefer to avoid VBA is at all possible due to
security reasons.

"Otto Moehrbach" wrote:

You would have to make a list of one column with the name and ID in each
cell. I don't think this would be useable because one of them would not be
sorted. Can you do with 2 DV cells, one for name and the other for ID and
let the user choose which one to use? HTH Otto

"Jim" wrote in message
...
I am using Excel 2007.

I have two named ranges: Customer_ID and Customer_Name.

I currently have a data validation list with the source '=Customer_ID'.
This works fine to look up customer numbers or I can change the source to
'Customer_Name' and look up by name. At some times it's easier to lookup
by
name, and others by number. Is it possible to have the drop down list
display both?

.

  #4  
Old March 24th, 2010, 09:36 AM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_8_]
external usenet poster
 
Posts: 338
Default Data Validation List - Can I have multiple ranges displayed?

Hi Jim

Expanding upon Otto's suggestion.
You could have 2 alternate input cells, one with Customer Name and the
other with Customer ID, with appropriate DV dropdowns for each.

In a third cell (which could be hidden or "off screen", you could use If
formulae and Vlookup's to ensure that you had a Customer ID as the result.
Use this third cell as the source of your subsequent Vlookup's in the
remainder of your sheet.
--
Regards
Roger Govier

Jim wrote:
When someone chooses the Customer ID from the data validation list, a whole
group of VLOOKUP's activate lower in the sheet to look up that customers
records. The VLOOKUP's are seeing which record by the value of the Customer
ID cell. If I have another cell beside it for Customer Name, how would I set
it up so the VLOOKUP so it knows which to check? I imagine there is an easy
way to do in VBA, but I would prefer to avoid VBA is at all possible due to
security reasons.

"Otto Moehrbach" wrote:

You would have to make a list of one column with the name and ID in each
cell. I don't think this would be useable because one of them would not be
sorted. Can you do with 2 DV cells, one for name and the other for ID and
let the user choose which one to use? HTH Otto

"Jim" wrote in message
...
I am using Excel 2007.

I have two named ranges: Customer_ID and Customer_Name.

I currently have a data validation list with the source '=Customer_ID'.
This works fine to look up customer numbers or I can change the source to
'Customer_Name' and look up by name. At some times it's easier to lookup
by
name, and others by number. Is it possible to have the drop down list
display both?

.

  #5  
Old March 24th, 2010, 11:46 AM posted to microsoft.public.excel.worksheet.functions
Jim
external usenet poster
 
Posts: 1,404
Default Data Validation List - Can I have multiple ranges displayed?

Roger,

I understand the concept, however what formula would I use in the 'third'
cell to check the first two, whichever was the latest to be changed?

Thanks for helping out.

"Roger Govier" wrote:

Hi Jim

Expanding upon Otto's suggestion.
You could have 2 alternate input cells, one with Customer Name and the
other with Customer ID, with appropriate DV dropdowns for each.

In a third cell (which could be hidden or "off screen", you could use If
formulae and Vlookup's to ensure that you had a Customer ID as the result.
Use this third cell as the source of your subsequent Vlookup's in the
remainder of your sheet.
--
Regards
Roger Govier

Jim wrote:
When someone chooses the Customer ID from the data validation list, a whole
group of VLOOKUP's activate lower in the sheet to look up that customers
records. The VLOOKUP's are seeing which record by the value of the Customer
ID cell. If I have another cell beside it for Customer Name, how would I set
it up so the VLOOKUP so it knows which to check? I imagine there is an easy
way to do in VBA, but I would prefer to avoid VBA is at all possible due to
security reasons.

"Otto Moehrbach" wrote:

You would have to make a list of one column with the name and ID in each
cell. I don't think this would be useable because one of them would not be
sorted. Can you do with 2 DV cells, one for name and the other for ID and
let the user choose which one to use? HTH Otto

"Jim" wrote in message
...
I am using Excel 2007.

I have two named ranges: Customer_ID and Customer_Name.

I currently have a data validation list with the source '=Customer_ID'.
This works fine to look up customer numbers or I can change the source to
'Customer_Name' and look up by name. At some times it's easier to lookup
by
name, and others by number. Is it possible to have the drop down list
display both?

.

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.