Month and year in different cells, display first and last day of month in different cells

K0st4din

Well-known Member
Joined
Feb 8, 2012
Messages
501
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hi all,
I'm trying to make it so that in cell A4 I have a year (2023, 2024, etc. the years are selected with a drop-down menu. In cell B4, a month is selected in the same way (1,2,3, etc.). I'm trying in cell D4 to display the first day of the specific month, i.e. if we are talking about October, display 1.10.2023, and in cell G4 display the last day of the specific month (in the example, it is 31.10.2023)
I found many options on the Internet, but there the dates are in one cell, and in my case, they are in different ones, and I can't do it. I would appreciate any help on how to put the formula together.
Thank you in advance!
A4B4D4G4
2023101.10.202331.10..2023
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Many, many, many thanks!
Be alive and healthy!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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