If date is within a table of multiple date ranges return a value also in that table

Copper Contributor

Example data

 

Start date       End date       Fiscal year

8/1/20097/31/20102010
8/1/20107/31/20112011
8/1/20117/31/20122012
8/1/20127/31/20132013

 

I want to be able to enter a date into a cell, such as 1/1/2012. I'm looking for a formula that will return 2012 (this is the fiscal year the date falls into).

 

How can I accomplish this?

6 Replies

@JBorner -Please check this! 

 

=YEAR(End Date)

SanthoshKunder_0-1696649340261.png

 

@JBorner Let's say the date you want to 'calculate' the fiscal year for is in A1, they this:

=IF(MONTH(A1)>7,YEAR(A1)+1,YEAR(A1))

 

@JBorner I may be a bit late to respond, but I'll still provide an answer.

 

To determine the fiscal year, you can easily extract the year from the END date using the YEAR function.

 

Formula = YEAR(End Date)

 

While there are various methods, simplicity often enhances understanding.

 

Please consider giving it a 'thumbs up' if the response was helpful for you. (external links removed by moderator)

This doesn't work. As noted in the example, the year is fiscal and not calendar year so 9/1/2011 is part of year 2012
This works, but I was hoping to find a way to use the table and not hard code the formula.

@JBorner Normally I would agree to use lookup tables, but in this case it's not really necessary. But if you insist, here you go. In its simplest form use LOOKUP as shown in the picture. 

Screenshot 2023-10-10 at 06.36.38.png