Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this one:
=IF(OR(RefDate<DATE(RefYear,1,7),RefDateDATE(RefY ear,6,30)),0,1) Explaining: If the RefDate is outside the range 7-1-xxxx to 6-30-xxxx the formula will return 0 and in the other case it will return 1. I consider that RefDate is one range taht contains a date and RefYear is a cell taht contain the number of the year I'll use to compair with date (ex. 2008, 2007, and so on). -- Adilson Soledade "cjlatta" wrote: I am using Excel 2003 to work on a range of dates. If the date is blank (null) in a column, I need it to return a 1. Also, in that same column, if the date is between a date range (we are using a fiscal year from 7-1-xxxx to 6-30-xxxx), I need it to return a 1. If the date in the column is outside of the fiscal year, I need it to return a 0. We want it to sum the 1's and 0's so we can get a count (summing, of course, I can do!) I want to expand this formula eventually, to cover other years, but I'd be happy if I can just figure this part out. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing Dates in 4 Columns - Nested Formulas? | Excel Discussion (Misc queries) | |||
Comparing Dates in 4 Columns - Nested Formulas? | Excel Discussion (Misc queries) | |||
HLP - Dynamic Range for Nested IF | Excel Worksheet Functions | |||
Identifying unique dates within a range of cells containing dates | Excel Discussion (Misc queries) | |||
COMPARING DATES with nested IF not working- Syntax is correct though | Excel Discussion (Misc queries) |