Link to home
Start Free TrialLog in
Avatar of pdvsa
pdvsaFlag for United States of America

asked on

Date help - EndOfMonth and a start date

How can I modify the below to start on a named range (ie Start date)?  Meaning until we reach the Start Date then it will not return any date or  a "-" might be more appropriate (not sure what is best)

=EOMONTH(TODAY(),0)+2

thank you
Avatar of akb
akb
Flag of Australia image

=+IF(EOMONTH(TODAY(),0)+2>=A1,EOMONTH(TODAY(),0)+2,"-")
Put the date you want to start on in cell A1
Avatar of Glenn Ray
This still isn't clear to me.  

You have a cell with the named range "StartDate".  This could be any date, not necessarily the begining of any month.

You want a formula to return "-" until today's date matches StartDate.  

What exactly do you expect the value to return on/after the StartDate?  Your formula appears to report the second day of the following month.  Is that correct?  You don't want the first day of the following month?  Like this?
=IF(TODAY()>=StartDate,EOMONTH(TODAY(),0)+1,"-")
Avatar of pdvsa

ASKER

Glenn, its actually 2 days after EOM.  

anything else let me know...
ASKER CERTIFIED SOLUTION
Avatar of Glenn Ray
Glenn Ray
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pdvsa

ASKER

thank you.  Note that the first answer did not have a named range