# Difficulties with Dates...

#### justdave3283

##### New Member
Hi all,

I'm Dave, I'm new and I'm a complete Excel novice (think I'm probably being generous to myself there), so please be gentle...

Anyway, my problem:

I would like to create a dropdown list in one of my spreadsheets, which is easy enough. However, I would like for the user to be able to select one of four months (Apr, Jul, Oct, Jan), then to select a year (2014,2015,2016, etc).

I think this would be much more user friendly than having a dropdown list with options such as Oct 14, Jan 15, Apr 15, Jul 15, ad nauseum.

However, I'm completely stuck.

Any help would be gratefully accepted.

justdave

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### justdave3283

##### New Member
Apologies, i should have mentioned I'm working in Excel 13.

Thanks again

#### hippiehacker

##### Well-known Member
so you want to create 2 drop down lists?

#### Oeldere

##### Well-known Member
Reading your question, I believe you want to have 1 drop down list for all values.

In that case make a list with all values (okt.15 / jan15/april15 etc) and refer to that (drop down) list.

#### hippiehacker

##### Well-known Member

@oeldere this is what he doesn't want

#### Oeldere

##### Well-known Member
@hippiehacker

In that case he/she has to make 2 list and refer to 2 drop down list. (as you stated in #3).

But if I was the user of that file, I prefer my solution (with 1 drop down list).

#### justdave3283

##### New Member
so you want to create 2 drop down lists?

I guess I do, but I'd like the two options to populate to 1 cell.
(So the text shows as for example Jul-15, or Oct 17...)

I'd just rather the user was able to select from 4 months, then 4 years, rather than 16 options of month/year.

Hope that makes sense.

Dave

#### hippiehacker

##### Well-known Member
assuming your drop downs are in Cell A1 and B2 you can combine the result in one cell like

Code:
``=IF(OR(A1="";B1="");"";A1 & " - " & B1)``

Replies
1
Views
86
Replies
0
Views
309
Replies
0
Views
219
Replies
1
Views
228
L
Replies
1
Views
159

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,193
Messages
5,768,772
Members
425,492
Latest member
blueexcel123

### 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.

### Which adblocker are you using?

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

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