ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Select Month, get the dates (https://www.excelbanter.com/excel-worksheet-functions/263354-select-month-get-dates.html)

Gaurav[_5_]

Select Month, get the dates
 
Hi,

I want to be able to select the month from the drop down list and once the
month is selected, I want the first date cell to change itself to the first
date of the month selected. For rest of the date cells I have just used the
formula "First date cell + 1"

any help will be appreciated!!

Thanks a lot in advance.

P.S. - Sorry for posting this in two forums. I realized later that this one
is probably the right place to post it. Thanks.



Luke M[_4_]

Select Month, get the dates
 
Assuming you select the month by giving a number 1-12, the formual is:
(assuming year 2010)
=DATE(2010,A2,1)

Or, if the drop down list is actually a list of various dates, and you're
choosing a specific month:
=DATE(YEAR(A2),MONTH(A2),1)

--
Best Regards,

Luke M
"Gaurav" wrote in message
...
Hi,

I want to be able to select the month from the drop down list and once the
month is selected, I want the first date cell to change itself to the
first
date of the month selected. For rest of the date cells I have just used
the
formula "First date cell + 1"

any help will be appreciated!!

Thanks a lot in advance.

P.S. - Sorry for posting this in two forums. I realized later that this
one is probably the right place to post it. Thanks.





Bernard Liengme[_2_]

Select Month, get the dates
 
See answer in other group

"Gaurav" wrote in message
...
Hi,

I want to be able to select the month from the drop down list and once the
month is selected, I want the first date cell to change itself to the
first
date of the month selected. For rest of the date cells I have just used
the
formula "First date cell + 1"

any help will be appreciated!!

Thanks a lot in advance.

P.S. - Sorry for posting this in two forums. I realized later that this
one is probably the right place to post it. Thanks.




All times are GMT +1. The time now is 04:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com