ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   "IF" Question? (https://www.excelbanter.com/excel-worksheet-functions/246122-if-question.html)

Lime

"IF" Question?
 
Any help is greatly appreciated..

I have a column with different dates in it. I need to find the dates that
fall in the month of Aug 2009.

here's what I have
=IF(G2=08/01/2009 and <=08/31/2009, "Y","N")

Mike H

"IF" Question?
 
Hi,

=IF(TEXT(G2,"mm/yyyy")="08/2009","Yes","No")

Mike

"Lime" wrote:

Any help is greatly appreciated..

I have a column with different dates in it. I need to find the dates that
fall in the month of Aug 2009.

here's what I have
=IF(G2=08/01/2009 and <=08/31/2009, "Y","N")


Glenn

"IF" Question?
 
Lime wrote:
Any help is greatly appreciated..

I have a column with different dates in it. I need to find the dates that
fall in the month of Aug 2009.

here's what I have
=IF(G2=08/01/2009 and <=08/31/2009, "Y","N")



=IF(AND(G2=--"08/01/2009",G2<=--"08/31/2009"),"Y","N")

Lime

"IF" Question?
 
Thank you.. Stay AWESOME!!!!

"Mike H" wrote:

Hi,

=IF(TEXT(G2,"mm/yyyy")="08/2009","Yes","No")

Mike

"Lime" wrote:

Any help is greatly appreciated..

I have a column with different dates in it. I need to find the dates that
fall in the month of Aug 2009.

here's what I have
=IF(G2=08/01/2009 and <=08/31/2009, "Y","N")


Glenn

"IF" Question?
 
Glenn wrote:
Lime wrote:
Any help is greatly appreciated..

I have a column with different dates in it. I need to find the dates
that fall in the month of Aug 2009.

here's what I have
=IF(G2=08/01/2009 and <=08/31/2009, "Y","N")



=IF(AND(G2=--"08/01/2009",G2<=--"08/31/2009"),"Y","N")



Probably better to use this:


=IF(AND(G2=--"01-Aug-2009",G2<=--"31-Aug-2009"),"Y","N")


All times are GMT +1. The time now is 09:11 PM.

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