Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-24-2015, 12:17 AM
Rich18144 Rich18144 is offline Data Validation List based on Two Named Ranges Windows 7 64bit Data Validation List based on Two Named Ranges Office 2007
Novice
Data Validation List based on Two Named Ranges
 
Join Date: May 2014
Posts: 7
Rich18144 is on a distinguished road
Default Data Validation List based on Two Named Ranges

Hi All,

I am looking to create Data Validation that will look at multiple cells to create a combined list from two values. It is probably most easily explained with an example:

So I would like the Validation in Cell B4 to look at two Named Ranges, as defined in cells A2 & B2 (i.e. "ApplePrices" and "OrangePrices"). I would like a single combined list to be available in the drop-down being presented in B4.

Elsewhere in the book/sheet (Let's say D1:E20) I have got a series of values. These values are split into Named Ranges, e.g. D1:D5 = ApplePrices, D6:D10 = OrangePrices, E1:E5 = PearPrices, D11:D20 = BananaPrices, etc.

I would like a Drop down in cell B4 that would refer to what is being held in A2 & B2 (In this case ApplePrices & OrangePrices) and use that as a reference to build the single drop down for B4.

The Data Validation in cell B4 needs to be populated based on both A2 & B2 - i.e. as the sheet currently stands and referring back to the named ranges, I would need a drop-down in cell B4 that is made up of both named ranges (i.e. the values held in D1:D5 & D6:D10). However, if I was to adjust the value in B2 to be "PearPrices" the drop-down list for B4 would adjust to now contain D1:D5 & E1:E5. Finally, if I adjusted the contents of cell A2 to "BananaPrices", the drop-down in B4 would now be constituted of the values held in D11:D20 & E1:E5.



Hopefully I have explained this well enough!

Thank you for your time,

Rich
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a data validation based on another cell's value?? cfreezy Excel 1 06-18-2015 09:51 AM
Data Validation List based on Two Named Ranges Restrict data validation based upon a cell value Strategic Excel 2 01-27-2015 02:13 AM
How to use named ranges in excel vba? bosve73 Excel Programming 4 01-25-2012 09:26 AM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM
Can't import home adresses in outlook 2010 from excel named ranges eekie Outlook 0 05-14-2010 02:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft