LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Picking out a Period, in relation to certain cells

I need a formula that will display which period a set of dates belongs to.

The info looks like this, located in a sheet named 'Period Dates'.

Period Start End
Period 1 01/04/2006 28/04/2006
Period 2 29/04/2006 26/05/2006
Period 3 27/05/2006 23/06/2006
Period 4 24/06/2006 21/07/2006
Period 5 22/07/2006 18/08/2006
Period 6 19/08/2006 15/09/2006
Period 7 16/09/2006 13/10/2006
Period 8 14/10/2006 10/11/2006
Period 9 11/11/2006 08/12/2006
Period 10 09/12/2006 05/01/2007
Period 11 06/01/2007 02/02/2007
Period 12 03/02/2007 02/03/2007
Period 13 03/03/2007 30/03/2007

In another sheet, I have column T called 'date in'. I need the formula to
pick out this date, find it in the info above and return the corresponding
period.

However, it is proving difficult as the date is located between the 'start'
and 'end' dates.
I have tried IF(T4<='Period Dates'!C9,"5",IF(T4<='Period Dates'!C10,"Period
6").
I can only do up to 8 IF statements though, is there another option??

 
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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Huge problem with "if" formula's [email protected] Excel Discussion (Misc queries) 16 July 20th 05 07:20 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


All times are GMT +1. The time now is 09:55 AM.

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

About Us

"It's about Microsoft Excel"