Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Date help

Posted on 2014-09-29
2
Medium Priority
?
106 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

670 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