View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Excel 2003 - SPB Excel 2003 - SPB is offline
external usenet poster
 
Posts: 26
Default Array to find rows need to insert date criteria

Thanks
spent many hours, never thought of a "text string"
"Ragdyer" wrote:

I'm assuming that Column C is in the Data sheet, and the *array* formula and
J4 are *not*:

=SMALL(IF((Data!$AE$2:$AE$30000)*(TEXT(Data!$C$2: $C$3000,"mmm")=TEXT($J$4,"
mmm")),ROW(Data!$AE$2:$AE$3000)),ROWS($1:1))

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.
You *must also* use CSE when revising the formula.

*After* the CSE entry, copy down as needed.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Excel 2003 - SPB" wrote in message
...
How do I include a date limitation for a selected month into this array,

the
date column is €śC€ť the date is in J4 enters as 8/1/07
This returns the correct row numbers


=SMALL(IF(Data!$AE$2:Data!$AE$30000,ROW(Data!$AE$ 2:Data!$AE$3000)),ROW(1:1)
)



=SMALL(IF(Data!$AE$2:Data!$AE$30000,ROW(Data!$AE$ 2:Data!$AE$3000)*MONTH(Dat
a!$C$2:Data!$C$3000=MONTH($J$4))),ROW(1:1))

Thanks SPB