ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Less Than Greater Than Date Question (https://www.excelbanter.com/excel-discussion-misc-queries/127178-less-than-greater-than-date-question.html)

Paperback Writer

Less Than Greater Than Date Question
 
I need to put in a formula that simply says if a date in a cell is less than
a particular specified date. I'm fairly good with Excel, but I can't figure
this out. Major brain freeze, I'm sure.

Let's say A1 has 1/31/2005 in it. In B1 (and copy/pasted all the way down),
I want to show if A1, A2, A3, etc. is less than or equal to 1/1/2006. So, in
this case, B1 would show "YES".

Thoughts?

galimi

Less Than Greater Than Date Question
 
=if(A1<date(2006,1,1),"Yes","No")
--
http://HelpExcel.com




"Paperback Writer" wrote:

I need to put in a formula that simply says if a date in a cell is less than
a particular specified date. I'm fairly good with Excel, but I can't figure
this out. Major brain freeze, I'm sure.

Let's say A1 has 1/31/2005 in it. In B1 (and copy/pasted all the way down),
I want to show if A1, A2, A3, etc. is less than or equal to 1/1/2006. So, in
this case, B1 would show "YES".

Thoughts?



All times are GMT +1. The time now is 08:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com