Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a coumn that I simply put dates into. What I want to do is if the
month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try: =IF(AND(DAY(A1)=30,MONTH(A1)=6),TRUE,FALSE) HTH Jean-Guy "The BriGuy" wrote: I have a coumn that I simply put dates into. What I want to do is if the month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you want a TRUE/FALSE answer you don't need the IF() function.
Just use =AND(DAY(A1)=30,MONTH(A1)=6) -- David Biddulph "pinmaster" wrote in message ... Hi, Try: =IF(AND(DAY(A1)=30,MONTH(A1)=6),TRUE,FALSE) HTH Jean-Guy "The BriGuy" wrote: I have a coumn that I simply put dates into. What I want to do is if the month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I modified the
=IF(AND(DAY(A1)=30,MONTH(A1)=6),TRUE,FALSE) slightly and used an OR instead to cover seberal dates but thisworked great. I ended up with: =IF(OR(MONTH(L6)=3,MONTH(L6)=6,MONTH(L6)=9,MONTH(L 6)=12),AVERAGE(M6:M8),"") Thanks "pinmaster" wrote: Hi, Try: =IF(AND(DAY(A1)=30,MONTH(A1)=6),TRUE,FALSE) HTH Jean-Guy "The BriGuy" wrote: I have a coumn that I simply put dates into. What I want to do is if the month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With listed date in A1, try:
=TEXT(A1,"mmdd")=TEXT(TODAY(),"mmdd") -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "The BriGuy" <The wrote in message ... I have a coumn that I simply put dates into. What I want to do is if the month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With
A2: (a date) To return TRUE if the Month=June and the Day=30 try this: B2: =TEXT(A2,"mmdd")="0630" Does that help? *********** Regards, Ron XL2002, WinXP "The BriGuy" wrote: I have a coumn that I simply put dates into. What I want to do is if the month and day = certain criteris then TRUE results, if not then FALSE. For exaple the date listed is 6/30/06 so if the date is 6/30/any year then this is a TRUE statement. I know this is probably simple but I seldom use EXCEL. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dates and formulas | Excel Discussion (Misc queries) | |||
USING DATES IN FORMULAS | Excel Discussion (Misc queries) | |||
Dates Not Formatting as Dates | Excel Worksheet Functions | |||
Using dates in formulas | Excel Worksheet Functions | |||
help with formulas and dates??? | Excel Discussion (Misc queries) |