View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
MrRJ MrRJ is offline
external usenet poster
 
Posts: 109
Default Find Period Date?

Thanks Mike H.

Have a nice holiday!

"Mike H" wrote:

Hi,

With the date you want to find the period for in D1

=INDEX(A1:A12,MATCH(1,INDEX((B1:B12<=D1)*(C1:C12= D1),),))

Mike

"MrRJ" wrote:

Given a particular date, is there a way that I can distinguish what period it
falls between? I plan on a using an if function combined with another
formula.

What period is 9/1/2008? The answer should be Period 9.
Period 1 12/31/07 01/27/08
Period 2 01/28/08 02/24/08
Period 3 02/25/08 03/23/08
Period 4 03/24/08 04/20/08
Period 5 04/21/08 05/18/08
Period 6 05/19/08 06/15/08
Period 7 06/16/08 07/13/08
Period 8 07/14/08 08/10/08
Period 9 08/11/08 09/07/08
Period 10 09/08/08 10/05/08
Period 11 10/06/08 11/02/08
Period 12 11/03/08 11/30/08
Period 13 12/01/08 12/28/08