Solved

Date help - EndOfMonth and a start date

Posted on 2014-10-20
5
82 Views
Last Modified: 2014-10-20
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
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:akb
ID: 40393013
=+IF(EOMONTH(TODAY(),0)+2>=A1,EOMONTH(TODAY(),0)+2,"-")
Put the date you want to start on in cell A1
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40393043
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
 

Author Comment

by:pdvsa
ID: 40393057
Glenn, its actually 2 days after EOM.  

anything else let me know...
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40393072
If it's two days, then:
=IF(TODAY()>=StartDate,EOMONTH(TODAY(),0)+2,"-")
0
 

Author Closing Comment

by:pdvsa
ID: 40393134
thank you.  Note that the first answer did not have a named range
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question