Is there a function that can help me do the following... Given a month/day/year return the first of the previous month. So, 1/22/2019 would become 12/1/2018
Is there a function that can help me do the following... Given a month/day/year return the first of the previous month. So, 1/22/2019 would become 12/1/2018
Try
=EOMONTH(A1,-2)+1
Try:
Formula:Please Login or Register to view this content.
with you date in A1.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
in vba use
Please Login or Register to view this content.
Last edited by Roel Jongman; 02-04-2019 at 04:21 PM. Reason: removed day(1). Day function is obsolete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks