Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel date intervals look up


Hi Im trying to lookup a value based on date intervals for academic years, using birthday to find the year.

So for example if I enter a birthday of 22/09/1997 then it will bring me the name of the academic year.

Please I appreciate any help. below is my table to look up.

01/09/2005 31/08/2006 Reception
01/09/2004 31/08/2005 Reception
01/09/2003 31/08/2004 Year 1
01/09/2002 31/08/2003 Year 2
Juniors
01/09/2001 31/08/2002 Year 3
01/09/2000 31/08/2001 Year 4
01/09/1999 31/08/2000 Year 5
01/09/1998 31/08/1999 Year 6 - 11+ transfer 2010**
High school year - 2009
01/09/1997 31/08/1998 Year 7
01/09/1996 31/08/1997 Year 8
01/09/1995 31/08/1996 Year 9
01/09/1994 31/08/1995 Year 10
01/09/1993 31/08/1994 Year 11
Schools and colleges - sixth form
01/09/1992 31/08/1993 Year 12
01/09/1991 31/08/1992 Year 13



Submitted via EggHeadCafe - Software Developer Portal of Choice
C# : Create Setup project which also include multiple applications in one setup
http://www.eggheadcafe.com/tutorials...p-project.aspx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Excel date intervals look up

Hi Adam

With your data in ColA,ColB and ColC try the below formula with the birthday
in cell D1

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=INDEX(C1:C100,MATCH(1,(A1:A100<=D1)*(B1:B100=D1) ,0))

--
Jacob


"adam smith" wrote:


Hi Im trying to lookup a value based on date intervals for academic years, using birthday to find the year.

So for example if I enter a birthday of 22/09/1997 then it will bring me the name of the academic year.

Please I appreciate any help. below is my table to look up.

01/09/2005 31/08/2006 Reception
01/09/2004 31/08/2005 Reception
01/09/2003 31/08/2004 Year 1
01/09/2002 31/08/2003 Year 2
Juniors
01/09/2001 31/08/2002 Year 3
01/09/2000 31/08/2001 Year 4
01/09/1999 31/08/2000 Year 5
01/09/1998 31/08/1999 Year 6 - 11+ transfer 2010**
High school year - 2009
01/09/1997 31/08/1998 Year 7
01/09/1996 31/08/1997 Year 8
01/09/1995 31/08/1996 Year 9
01/09/1994 31/08/1995 Year 10
01/09/1993 31/08/1994 Year 11
Schools and colleges - sixth form
01/09/1992 31/08/1993 Year 12
01/09/1991 31/08/1992 Year 13



Submitted via EggHeadCafe - Software Developer Portal of Choice
C# : Create Setup project which also include multiple applications in one setup
http://www.eggheadcafe.com/tutorials...p-project.aspx
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
date intervals calculation martyn Excel Worksheet Functions 9 February 6th 08 01:30 PM
SUM-ing date for different time intervals Mortir Excel Worksheet Functions 3 December 11th 06 06:26 PM
Looking for a formula to calculate date intervals Sandy - PEAK ASSIST Excel Worksheet Functions 4 September 14th 06 07:09 AM
date intervals jer Excel Worksheet Functions 3 January 13th 06 04:22 PM
calculating date intervals jer Excel Worksheet Functions 0 January 13th 06 12:12 PM


All times are GMT +1. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"