Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Combo box displays positions not date

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Combo box displays positions not date

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 D10:D15, the following formula returns the value from range D10:D15
based on the selection in the list:

=INDEX(D10:D15,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

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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Combo box displays positions not date

Cheers, I ended just using LOOKUP based on the value returned from the
cell reference. Thanks for your help.

Cheers

Rich


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
Comment Displays date aposatsk Excel Discussion (Misc queries) 8 August 4th 06 12:44 PM
How to set-up a field that displays the last updated date teh_chucksta Excel Discussion (Misc queries) 1 July 15th 06 01:01 AM
The way the date displays in columns Patsy Caddy New Users to Excel 1 May 3rd 06 10:58 PM
Combo box in Excel that displays 2 columns ichu05 New Users to Excel 1 March 21st 06 08:32 PM
date displays as serial number et Excel Discussion (Misc queries) 2 April 19th 05 01:10 AM


All times are GMT +1. The time now is 12:28 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"