Solved

Date help

Posted on 2014-09-29
2
104 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
[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 Comments
 
LVL 19

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

751 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