concatenate dates?

Craig AS

New Member
Joined
Mar 6, 2002
Messages
26
hey,
i have 3 combo boxes, first with day numbers, second with month names, and third with years. I was just waundering if it is possible to concatenate three cells as a date. I have tried but i cannot solve it. any help is appreciated, thnx alot

Craig
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
On 2002-04-28 10:30, Craig AS wrote:
have u had my project ok?

Looks good.

I named your 1-column list of day numbers in Places DLIST, your 1-column list of 3-letter month names MLIST, and your 1-column list of years YLIST.

Guess what: You didn't tell that YLIST is populated by using formulas that compute a date by referring to a cell containing =TODAY(), which means that the first item is in fact in that list is today's date and not simply 2002. You should have told that :).

I replaced the Input range values in all of your comboboxes by their respective names.

The formula for the departure date becomes simply:

=DATE(YEAR(INDEX(YLIST,D29)),C29,B29)

and for the return date:

=DATE(YEAR(INDEX(YLIST,D31)),C31,B31)

Aladin

PS. I'll send you your updated WB back.
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,172
Members
449,071
Latest member
cdnMech

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