Formula Needed for First Day of First Month of Present Year; Last Day of Last Month of Present Year

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
232
Office Version
  1. 365
Platform
  1. Windows
Hey Folks.

I am specifically looking for a formula that is smart enough to know what the current date is, and populate in the formula cell the first day of the present year (e.g. this year it would be 1/1/2015, but next year the formula would automatically change that to 1/1/2016 and so forth).

I also need one that produces the last day of the present year along those lines.

I looked/snooped around this site a bit and found plenty where there is a reference to an existing date cell, but nothing self contained and dynamic enough to update with each passing year.

Thanks!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
Try these where A2 has the date, or change A2 to today()
1st day
=DATE(YEAR(A2),1,1)
Last
=EOMONTH(DATE(YEAR(A2),1,1),-1)


 
Upvote 0

SpillerBD

Well-known Member
Joined
Jul 2, 2014
Messages
2,851
Office Version
  1. 365
Platform
  1. Windows
=DATE(Year(NOW()),1,1)
=DATE(Year(NOW()),12,31)

You can also use TODAY instead of NOW...
 
Last edited:
Upvote 0

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
232
Office Version
  1. 365
Platform
  1. Windows
Thanks Gaz, but I don't have a date to reference. Spiller - that works perfectly. Thank you!
 
Upvote 0

Forum statistics

Threads
1,195,721
Messages
6,011,299
Members
441,601
Latest member
mgdll

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