dates and drop down lst

bluepenink

Well-known Member
Joined
Dec 21, 2010
Messages
585
hello

having some issues with showing two dates side by side in a drop down list through data validation.

basically i have a every monday start date and end of the week date
so i want the drop down to look like this (see below)...going all the way down to 2012

6-June-2011 to 12-June-2011

i cant make it work :S..can someone pls help!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi

try using a custom list. The list can be set up on the sheet that will contain the drop down lists, or on a different sheet.


1. Type the list of items you want in a single column or row- just enter your date ranges
2 Next, name the List Range, do this by selecting/highlighting the cells in the list. Click on the Name box to the left of the formula bar and type a one word name then press enter
3.Thirdly, apply your Data Validation. Select the cells you want to apply the data validation. From the Data menu select Validation. From the Allow drop down list select List.
4. In the Source box, this is where you reference the named range, so type an equal sign and then the list name, the click Ok.

hope that helps

Barbara Excel
 
Upvote 0
I tried that earlier dude

it has to be a single column or delimited.

when it crosses over multiple columns, it messes things up

i.e.
A1 = 6-June
B1 = to
C1 = 12-June

I defined that range A1:C1 as NewWeek

so i went into data validation > list > source: =NewWeek

and it says...it ahs to be delimited, or single row/column

help!
 
Upvote 0
Give this a try :


Excel Workbook
ABCDE
1StartEndCombined*2 options for DV
26/6/20116/11/201106/06/2011 To 06/11/2011*06/27/2011 To 07/02/2011
36/13/20116/18/201106/13/2011 To 06/18/2011**
46/20/20116/25/201106/20/2011 To 06/25/2011**
56/27/20117/2/201106/27/2011 To 07/02/2011*06/27/2011 To 07/02/2011
67/4/20117/9/201107/04/2011 To 07/09/2011**
77/11/20117/16/201107/11/2011 To 07/16/2011**
87/18/20117/23/201107/18/2011 To 07/23/2011**
97/25/20117/30/201107/25/2011 To 07/30/2011**
108/1/20118/6/201108/01/2011 To 08/06/2011**
118/8/20118/13/201108/08/2011 To 08/13/2011**
128/15/20118/20/201108/15/2011 To 08/20/2011**
138/22/20118/27/201108/22/2011 To 08/27/2011**
148/29/20119/3/201108/29/2011 To 09/03/2011**
159/5/20119/10/201109/05/2011 To 09/10/2011**
169/12/20119/17/201109/12/2011 To 09/17/2011**
Sheet1
#VALUE!
</td></tr></table></td></tr></table>

For sure there are better ways doing it with VBA but not me ....
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,513
Members
452,921
Latest member
BBQKING

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