Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Validation, how to see "today" date on top of the drop down list?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Validation, how to see "today" date on top of the drop down list?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Validation, how to see "today" date on top of the drop down li

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Validation, how to see "today" date on top of the drop down list?


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent each item date from changing after "TODAY" formula Marvin Excel Worksheet Functions 2 June 3rd 09 08:27 PM
Data Validation "List" - Setting length of list shown Dave Excel Discussion (Misc queries) 3 January 31st 08 06:51 PM
Can I include a "validation drop down" in a conditional statement? JanW Excel Worksheet Functions 1 June 5th 07 08:50 PM
"NOW" or "TODAY" date function Chris Excel Worksheet Functions 2 April 19th 06 07:46 PM
using VBA to emulate "validation" drop-down list Donager Dave Excel Programming 1 June 3rd 04 07:31 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"