PC Review


Reply
Thread Tools Rate Thread

Combo box displays positions not date

 
 
Richhall
Guest
Posts: n/a
 
      26th Jun 2007
Hi, I have a list of dates, that go from =TODAY() and then +7 until
October time. (So one entry a week based on todays date). I then have
created a combo box based on these dates and that works fine. I have
done a cell link to another cell, so I can use the date in some
conditional formatting, but the cell link just displays the position
in the combo box. Therefore my first date, is 01-01-1900 if I set
that field as date format or 1 if anything else. I have tried
changing the original input date to be Text. (i.e from original row of
date, =TXT(A1,"dd-mm-yyyy") and then referenced the text field as a
combo box, but still I just got the position in the combo box. Can
anyone help me get the correct date selected from the combo box into a
cell? Cheers, Rich

 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGF1bA==?=
Guest
Posts: n/a
 
      26th Jun 2007
Combo box A drop-down list box. The item that is selected in the list box
appears in the text box.

Combo box properties

Input range Reference to the range containing the values to display in
the drop-down list.

Cell link Returns the number of the item that's selected in the combo box
(the first item in the list is 1). You can use this number in a formula or
macro to return the actual item from the input range.

For example, if a combo box is linked to cell C1 and the input range for the
list is D1015, the following formula returns the value from range D1015
based on the selection in the list:

=INDEX(D1015,C1)
or Choose(c1,d10,d11,d12,d13,d14,d15)

Drop-down lines Specifies the number of lines to display in the drop-down
list.


--
paul
(E-Mail Removed)
remove nospam for email addy!



"Richhall" wrote:

> Hi, I have a list of dates, that go from =TODAY() and then +7 until
> October time. (So one entry a week based on todays date). I then have
> created a combo box based on these dates and that works fine. I have
> done a cell link to another cell, so I can use the date in some
> conditional formatting, but the cell link just displays the position
> in the combo box. Therefore my first date, is 01-01-1900 if I set
> that field as date format or 1 if anything else. I have tried
> changing the original input date to be Text. (i.e from original row of
> date, =TXT(A1,"dd-mm-yyyy") and then referenced the text field as a
> combo box, but still I just got the position in the combo box. Can
> anyone help me get the correct date selected from the combo box into a
> cell? Cheers, Rich
>
>

 
Reply With Quote
 
Richhall
Guest
Posts: n/a
 
      27th Jun 2007
Cheers, I ended just using LOOKUP based on the value returned from the
cell reference. Thanks for your help.

Cheers

Rich


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo that displays tree.? perspolis Microsoft C# .NET 1 19th May 2007 06:25 PM
Combo box looks up name and ID, displays name but stores ID. =?Utf-8?B?VGhvcmJ1cm4=?= Microsoft Access Forms 1 17th Aug 2006 03:52 AM
Date displays as serial number. Cannot format to display as date =?Utf-8?B?U3VubnlH?= Microsoft Excel Crashes 1 7th Mar 2006 02:32 PM
Classic asp date displays- changing over to aspnet date object displays Chumley Walrus Microsoft ASP .NET 1 16th Dec 2004 09:57 PM
Excel date formatted cell displays date entered as Jan-01-1900 =?Utf-8?B?RGVybW90?= Microsoft Excel Crashes 0 29th Sep 2004 11:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:45 PM.