Solved

Date help

Posted on 2014-09-29
2
105 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

635 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