=OR(condition1,condition2)
will give a result of "true" if either condition is true or "False" if both conditions are false
So use =If([red]OR(Mydate=<1Sept2006,Mydate>=1May2007)[/red],"Yes","No")
Dates are held in Excel as numbers. And the above won't quite work as written.
The easiest way to specify 1Sept2006 is to enter it into another cell and then refer to that cell in your OR formula.
I will say what I always say for this type of question - what is a "month" ?? given that they can vary between 28 and 31 days, what exactly is it you are measuring ?
If you just want to know how many times the same day of the month has passed then you are ok but if you are working on anything like SLAs, 4 months could be = 120 days or up to 123 days......
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.