Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default help with dates and lookups

Please can someone help

I have a table, of dates and references. What I want to be able to do is
input a date, and it then lookup to see what the refernce should be for this.

IE
Date Reference
10/01/2006 Period 1
16/02/2006 Period 2
19/03/2006 Period 3
25/04/2006 Period 4

So if I enter a date of 25/02/2006 it brings back PERIOD 2 as this date is
greater than Period 2 but less than Period 3.

Many Thanks in advance for your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default help with dates and lookups

assuming you know how to to use lookup table, i would name your periods table
as "periods" and assuming the date you want to put into a period is located
in A1, the formula is =vlookup(A1, periods,2,true).
this will return the period the date falls in, several chances for errors,
if date is before first period or after last period.
reno

"Pendelfin" wrote:

Please can someone help

I have a table, of dates and references. What I want to be able to do is
input a date, and it then lookup to see what the refernce should be for this.

IE
Date Reference
10/01/2006 Period 1
16/02/2006 Period 2
19/03/2006 Period 3
25/04/2006 Period 4

So if I enter a date of 25/02/2006 it brings back PERIOD 2 as this date is
greater than Period 2 but less than Period 3.

Many Thanks in advance for your assistance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default help with dates and lookups

The date could be any date I just need to know what period the date previous
or equal to this equals. This date will not necessarily be in the first
column.

"reno" wrote:

assuming you know how to to use lookup table, i would name your periods table
as "periods" and assuming the date you want to put into a period is located
in A1, the formula is =vlookup(A1, periods,2,true).
this will return the period the date falls in, several chances for errors,
if date is before first period or after last period.
reno

"Pendelfin" wrote:

Please can someone help

I have a table, of dates and references. What I want to be able to do is
input a date, and it then lookup to see what the refernce should be for this.

IE
Date Reference
10/01/2006 Period 1
16/02/2006 Period 2
19/03/2006 Period 3
25/04/2006 Period 4

So if I enter a date of 25/02/2006 it brings back PERIOD 2 as this date is
greater than Period 2 but less than Period 3.

Many Thanks in advance for your assistance.

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
SUM of INDEX lookups Liz Steffen Excel Worksheet Functions 3 May 11th 06 04:43 PM
CAN DATES BE USED IN LOOKUPS? Riasworld Excel Discussion (Misc queries) 1 February 21st 06 01:12 PM
Lookups Mike O'Donnell, Columbia MD Excel Discussion (Misc queries) 1 May 14th 05 02:17 AM


All times are GMT +1. The time now is 10:30 AM.

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"