Calendar help

Ray_Torres

New Member
Joined
Jun 1, 2022
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
With the A1 cell name equalling the name of a month how can I get the A2 cell to give me the first day of that month? or if easier I just need a calendar that will allow me to change the cell dates by changing the month in A1.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
What have you tried?

What are the Regional date settings for your system?

Try

T202206a.xlsm
ABC
1
2June1-Jun-22Systems set to International Date format
3June1-Jun-01May give correct date with USA based systems
4June1-Jun-22
5
1b
Cell Formulas
RangeFormula
B2B2=--(1&A2)
B3B3=--(A3&1)
B4B4=DATE(2022,MONTH(A4&1),1)
 
Upvote 0
Solution
Thank you for the help, I ended up going with, =DATEVALUE("1-"&D1&"-"&F1). Using month in D1 and year in F1.
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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