Solved

Date help

Posted on 2014-09-29
2
100 Views
Last Modified: 2014-10-03
Experts, I am trying to modify my original formula with Now() and if Now() is <Oct 2, 2014 then use 1/1/2015 + 5 days (basically qtr end plus 5 days) but if Now is >10/2/2014 then use the Date(YEAR....stuff
in the below, I dont have an error but I am expecting to get a result of Jan 1, 2015 + 5 days = Jan 6, 2015

What do you see wrong with the below?
=IF(NOW()<10/2/2014,1/1/2015+5,DATE(YEAR(NOW()),CEILING(MONTH(NOW()),3)+1,0)+5)

thank you
0
Comment
Question by:pdvsa
2 Comments
 
LVL 18

Accepted Solution

by:
Raheman M. Abdul earned 500 total points
ID: 40350659
Use this formula
=IF(NOW()<DATE(2014,10,2),DATE(2015,1,1)+5,DATE(YEAR(NOW()),CEILING(MONTH(NOW()),3)+1,0)+5)
0
 

Author Closing Comment

by:pdvsa
ID: 40360282
thank you.  I got a little sidetracked.  sorry for the late reply.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now