Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calulate a value when date is in a range.

Hi there,

Please can you help! I am trying to calculate from a list of dates,
which calender Period the date falls into.

I have a table in excel with period number in first col1, period start
date in col2, period end date in col3.

I then have a list of about 500 dates and want to put in the column
next to each date which period the date equals.

I've tried nested if and offset functions but cannot figure it out!!
If anyone can help, we would be most greatful.

Meg
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Calulate a value when date is in a range.

Hi,
With the start date of each period in Column A, starting in A1
With the corresponding number of each period in Column B, starting in B1
With your 500 dates in Column A, stating in A10
You don't need the end-date column.

In the cell beside your first date enter:
=VLOOKUP(A10,$A$1:$B$4,2)

Change references as necessary.
The $B$4 reference has to be changed to fit your date period table.
Then copy down.

Regards - Dave.


" wrote:

Hi there,

Please can you help! I am trying to calculate from a list of dates,
which calender Period the date falls into.

I have a table in excel with period number in first col1, period start
date in col2, period end date in col3.

I then have a list of about 500 dates and want to put in the column
next to each date which period the date equals.

I've tried nested if and offset functions but cannot figure it out!!
If anyone can help, we would be most greatful.

Meg

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
Calulate a value when date is in a range. [email protected] Excel Worksheet Functions 1 May 9th 08 03:09 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
HOW DO I CALULATE A OVERTIME FORMULA Payclerk Excel Worksheet Functions 1 April 9th 06 09:21 PM
Is there a way to calulate M-T-D or Y-T-D in Excelt? bdsirius Excel Worksheet Functions 2 December 8th 05 09:09 AM
how to calulate time unique New Users to Excel 1 July 5th 05 05:26 PM


All times are GMT +1. The time now is 06:34 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"