Hello!
Does anyone know if there a way to add something on to the end of an EOMONTH formula that would allow me to determine what the last working day of the previous month was? =EOMONTH($A$2,-1)
Thanks!
Marie
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Workday (Excel 2000)
Try this:
=WORKDAY(EOMONTH($A$2,-1)+1,-1)
EOMONTH($A$2,-1) is the last day of the previous month
EOMONTH($A$2,-1)+1 is the first day of the month
WORKDAY(EOMONTH($A$2,-1)+1,-1) is the last workday before the first day of the month, i.e. the last workday of the previous month.
Note for others reading this: these functions require that the Analysis ToolPak has been installed (Tools | Add-Ins…)
Hans,
Thanks so much for the help with this. Wondering if you could help with another calculation. I have in Cell I1, a calculation to provide me with a QTD total:
=IF(MONTH(Date)>=10,DATE(YEAR(Date),10,1),IF(MONTH(Date)>=7,DATE(YEAR(Date),7,1),IF(MONTH(Date)>=4,DATE(YEAR(Date),4,1),DATE(YEAR(Date),1,1))))
This worked well until I found out that funding days do not include the last working day of the current month, but do include the last working day of the previous month.
Is there a way that this QTD calculation can be modified to work in this manner?
Thanks again for any assistance that you can provide.
Marie
Hopefully this will be my last post of the day
I am using the curent formulas to determine the the BOM(Beginning of the month) =WORKDAY(EOMONTH(RDate,-1)+1,-1)
, and EOM(End of Month) =WORKDAY(EOMONTH(RDate,0)+1,-2)
This worked great until “RDate” became 04/29/05, which would be the first funding day of the next month. Is there a way to modify the formulas so that they will look at “RDate” and then calculate what the beginning and end of month would be?
Marie
Hans,
I have another question on this fabulous formula that you created for me so that I could determine the beginning and ending funding date of each month.
5/30 was observed as a holiday (because it fell on Monday). I have defined a range of cells as “Holidays”, and have entered 5/30 n one of the cells. Am hoping that there is a way to add to the original EOM formula (=WORKDAY(EOMONTH(RDate,(RDate>WORKDAY(EOMONTH(RDate,0)+1,-2))+0)+1,-2,) so remove any Holidays that fall between BOM (Beginning of Month) and EOM(End of Month). I did try it some way and it backed the last funding day in the month to the 29th, and it s.b the 27th (as we do nto count weekends).
Thanks for any help that you can provide!!!
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications