pdvsa
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
=EOMONTH(TODAY(),0)+2
thank you
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,EOM ONTH(TODAY (),0)+1,"- ")
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,EOM
ASKER
Glenn, its actually 2 days after EOM.
anything else let me know...
anything else let me know...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you. Note that the first answer did not have a named range
Put the date you want to start on in cell A1