Find Given Date Between Fiscal Years and Return Year

SuziBaz

New Member
Joined
Nov 2, 2017
Messages
13
I have a Training Spreadsheet which houses all training courses held for a company throughout the year.
I want to be able to filter (slicer) by year, so I have created a table of fiscal years (dates) and the year that I would like to return as below:

Fiscal Start Fiscal End Return this Value
Column X Column Y
Column Z
01-Oct-14 30-Sep-15 "2014 - 15"
01-Oct-15 30-Sep-16 "2015 - 16"
01-Oct-16 30-Sep-17 "2016 - 17"
01-Oct-17 30-Sep-18 "2017 - 18"
01-Oct-18 30-Sep-19 "2018 - 19"
01-Oct-19 30-Sep-20 "2019 - 20"

The training date is in column B and I wish to return the value in column A

​I have tried a variety of IF AND combinations but cannot find the correct formula
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi ,

If you have already set up your table the way you have posted it , then a simple VLOOKUP can return the fiscal year text string ; for instance , I copied your data into the range $E$5:$G$10 ; I removed the quotes from the fiscal year text strings.

Now , if you have any date in the period 01-Oct-2014 through 30-Sep-2020 , using the following formula will return the corresponding fiscal year text string :

=VLOOKUP(date value,$E$5:$G$10,3,TRUE)

where date value would refer to the worksheet cell which has the data value for which you want the fiscal year.
 
Upvote 0
try this


Excel 2013/2016
ABXYZ
1yeardate
22014 - 1509-Jan-1501-Oct-1430-Sep-152014 - 15
32014 - 1508-Jun-1501-Oct-1530-Sep-162015 - 16
42015 - 1605-Nov-1501-Oct-1630-Sep-172016 - 17
52015 - 1603-Apr-1601-Oct-1730-Sep-182017 - 18
62015 - 1631-Aug-1601-Oct-1830-Sep-192018 - 19
72016 - 1728-Jan-1701-Oct-1930-Sep-202019 - 20
Sheet2
Cell Formulas
RangeFormula
A2=INDEX($Z$1:$Z$7,SUMPRODUCT(ROW($A$1:$A$7),(B2>=$X$1:$X$7)*(B2<=$Y$1:$Y$7)))
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,688
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top