Difficulties with Dates...

justdave3283

New Member
Joined
Aug 18, 2014
Messages
11
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.


Thanks in advance
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.

Oeldere

Well-known Member
Joined
Dec 29, 2011
Messages
2,213
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
Joined
Aug 2, 2011
Messages
1,911

ADVERTISEMENT

@oeldere this is what he doesn't want
 

Oeldere

Well-known Member
Joined
Dec 29, 2011
Messages
2,213
@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
Joined
Aug 18, 2014
Messages
11
so you want to create 2 drop down lists?

thanks for replying.

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
Joined
Aug 2, 2011
Messages
1,911
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)
 
Master Excel Bundle

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.

Forum statistics

Threads
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.
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
Top