Using different lists depending on month

Jo4x4

Board Regular
Joined
Jan 8, 2011
Messages
136
Hi everybody,

I have a workbook where Sheet1 is used for adding details of customers. Part of that is a drop-down list (stored on sheet2) with dates ie: 1 August 2011, 2 August 2011 etc.

Is there a way to have all the dates for the year on sheet 2, and then let the drop-down list only reflect the current month?

Thanks in advance
Jo

Win XP, Excel 2007
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi everybody,
I have a workbook where Sheet1 is used for adding details of customers. Part of that is a drop-down list (stored on sheet2) with dates ie: 1 August 2011, 2 August 2011 etc.
Is there a way to have all the dates for the year on sheet 2, and then let the drop-down list only reflect the current month?
Thanks in advance
Jo
Win XP, Excel 2007
In sheet2, in A1, you type: 01/01/2011
A2 = A1+1
Fill down till get 31/12/2011
Ctrl-F3, named "month" with refer to:
Code:
=OFFSET($A$1,MATCH(MONTH(TODAY()),MONTH($A$1:$A$365),0)-1,,SUM(IF(MONTH($A$1:$A$365)=MONTH(TODAY()),1,0)),)
back to sheet 1, at your cell, choose Data/ Data Validation/Allow:List/Source: = month
Now you can pick date with your current month.
Any file attachment required, ctc me at quangphanidico@yahoo.com
:)
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

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