Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Calulate a value when date is in a range.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hardymeg@gmail.com - 07 May 2008 11:23 GMT
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
Dave - 07 May 2008 13:16 GMT
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.

> Hi there,
>
[quoted text clipped - 11 lines]
>
> Meg
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.