Page 1
Page 1
Started By
Message

Calling MS Excel gurus

Posted on 1/1/18 at 6:47 pm
Posted by aib799
Member since Jul 2014
347 posts
Posted on 1/1/18 at 6:47 pm

Need to add 42 days to a date in another cell but can't to go past 1 calendar month

Example

Dec 25, 2017 + 42 days will give me Feb 5, 2018. But I can't have a date past one calendar month so the last date would need to be Jan 31, 2018. Any suggestions?
Posted by ODP
Conroe
Member since Oct 2015
1938 posts
Posted on 1/1/18 at 6:56 pm to
Use a nested IF
Posted by aib799
Member since Jul 2014
347 posts
Posted on 1/1/18 at 7:18 pm to
Trying but having trouble referencing past 1 month
Posted by lynxcat
Member since Jan 2008
24121 posts
Posted on 1/1/18 at 7:23 pm to
I’d need to test out a few formulas with Excel open to do this one. I don’t use the date functions that often but a number of them exist.

It will be some kind of Nested IF formula with a reference to a TODAY() or NOW() formula.
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 1/1/18 at 7:46 pm to
Let A1 hold the date, and...

=MIN(A1+42,EOMONTH(A1,1))
Posted by r3lay3r
EBR
Member since Oct 2016
1808 posts
Posted on 1/1/18 at 7:57 pm to
30 days from the current date?
Posted by lynxcat
Member since Jan 2008
24121 posts
Posted on 1/1/18 at 8:43 pm to
Never heard of EOMONTH() but I will definitely use it sometime in the future.
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 1/1/18 at 9:09 pm to
I was going to use something like DATE(YEAR(A1),MONTH(A1)+2,0), but EOMONTH is definitely easier. Sometimes it pays to look at the Help file.
Posted by barry
Location, Location, Location
Member since Aug 2006
50337 posts
Posted on 1/1/18 at 10:49 pm to
Use EOM all the time for financial models
Posted by aib799
Member since Jul 2014
347 posts
Posted on 1/2/18 at 8:49 am to
quote:

Let A1 hold the date, and...

=MIN(A1+42,EOMONTH(A1,1))


Awesome, thanks for the help
Posted by southernelite
Dallas
Member since Sep 2009
53140 posts
Posted on 1/2/18 at 9:44 am to
EOM is legit...Use that one all the time.

I’m also fond of using weekday and then an if statement to skip weekend dates on a weekly report I run through excel
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram