Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05.
when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It shows items in the order they appear in the cells you reference (assume
you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom,
Many thanks for your replay. in fact I do want to show earlier days as well, but whenever I click on the cell where validation is activated, I want to see "today" date and also the previous dates. Any more help is very much appreciated. Hoshyar "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Create a list of your dates going down the column, but start in the second
row. In the topmost cell put in the formula =today() then use that list as the source for your dropdown. -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... Tom, Many thanks for your replay. in fact I do want to show earlier days as well, but whenever I click on the cell where validation is activated, I want to see "today" date and also the previous dates. Any more help is very much appreciated. Hoshyar "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Many thanks Tom, it is very logical and it worked
regards Hoshyar "Tom Ogilvy" wrote: Create a list of your dates going down the column, but start in the second row. In the topmost cell put in the formula =today() then use that list as the source for your dropdown. -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... Tom, Many thanks for your replay. in fact I do want to show earlier days as well, but whenever I click on the cell where validation is activated, I want to see "today" date and also the previous dates. Any more help is very much appreciated. Hoshyar "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I hate to reply to this message with a question about another subject BUT I
don't know where else to go. I can't start a new thread. When I click "New" then "Question" it doesn't give me a screen to post. It just goes back to the original questions. "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
news://msnews.microsoft.com/microsof...el.programming
put in the nagivation area of your browser with a return should open up this group in Outlook express. then you just do New Post at the top. -- Regards, Tom Ogilvy "Oldjay" wrote in message ... I hate to reply to this message with a question about another subject BUT I don't know where else to go. I can't start a new thread. When I click "New" then "Question" it doesn't give me a screen to post. It just goes back to the original questions. "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks - I knew that!! What a dummy. I remember talking to you many years ago
about a subject in your first book. You told me the subject would be in your second book you were writing. How many years ago was that? Oldjay "Tom Ogilvy" wrote: news://msnews.microsoft.com/microsof...el.programming put in the nagivation area of your browser with a return should open up this group in Outlook express. then you just do New Post at the top. -- Regards, Tom Ogilvy "Oldjay" wrote in message ... I hate to reply to this message with a question about another subject BUT I don't know where else to go. I can't start a new thread. When I click "New" then "Question" it doesn't give me a screen to post. It just goes back to the original questions. "Tom Ogilvy" wrote: It shows items in the order they appear in the cells you reference (assume you don't hard code them in the dialog). If you don't want to show earlier dates, you can do this with a dynamic defined name formula. (insert=Name=Define) Name: List1 Refers to: =Offset(Sheet1!$A$1,Match(Today(),Sheet1!$A$1:$A$3 66,0)-1,0,367-Match(Today( ),Sheet1!$A$1:$A$366,0),1) Then in the data validation dialog, for source put in: =List1 (include the equal sign) -- Regards, Tom Ogilvy "Hoshyar" wrote in message ... I have a drop down list for the days of the year, form 1 jan 05 to 31 dec 05. when I click on the drop down list, it always shows me 1 jan on the top of the list, then I have to scrol down and look for "today" date. is there any possibility that when I click an empty cell where the drop down list is activated and see the "today" date? I mean when use it today I want to see the date 16 Oct 05 on the top of the list, and if I use it tomorrow I want to see 17 october 05 and so on. Your help is appreciated. Hoshyar |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, If you have a list of dates on a sheet in the first cell at the top o the list type =Today(), that way the first in your list will always b todays date, use validation for a range of cells choose list then typ =YOUR LIST NAME where your list name is what you have called your lis of dates. HTH Simo -- Simon Lloy ----------------------------------------------------------------------- Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670 View this thread: http://www.excelforum.com/showthread.php?threadid=47664 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to prevent each item date from changing after "TODAY" formula | Excel Worksheet Functions | |||
Data Validation "List" - Setting length of list shown | Excel Discussion (Misc queries) | |||
Can I include a "validation drop down" in a conditional statement? | Excel Worksheet Functions | |||
"NOW" or "TODAY" date function | Excel Worksheet Functions | |||
using VBA to emulate "validation" drop-down list | Excel Programming |