ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calulate a value when date is in a range. (https://www.excelbanter.com/excel-worksheet-functions/186466-calulate-value-when-date-range.html)

[email protected]

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

ryguy7272

Calulate a value when date is in a range.
 
Let's say your dates are in Column A, and certain dates, such as holidays,
are in Column B, specifically B1:B8. Try this function:
=ISNUMBER(MATCH(A1,$B$1:$B$8,0))
Fill down...

Regards,
Ryan---
--
RyGuy


" 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



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com