Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 87
  • Last Modified:

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
0
pdvsa
Asked:
pdvsa
  • 2
  • 2
1 Solution
 
akbCommented:
=+IF(EOMONTH(TODAY(),0)+2>=A1,EOMONTH(TODAY(),0)+2,"-")
Put the date you want to start on in cell A1
0
 
Glenn RayExcel VBA DeveloperCommented:
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,"-")
0
 
pdvsaProject financeAuthor Commented:
Glenn, its actually 2 days after EOM.  

anything else let me know...
0
 
Glenn RayExcel VBA DeveloperCommented:
If it's two days, then:
=IF(TODAY()>=StartDate,EOMONTH(TODAY(),0)+2,"-")
0
 
pdvsaProject financeAuthor Commented:
thank you.  Note that the first answer did not have a named range
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now