Analysis of Date ranges

EvansB2

Board Regular
Joined
Nov 25, 2008
Messages
245
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I have a spreadsheet that contains data extracted from a Sage Ledger report. I would to look at the date column and in another column return a particular Financial Year relative to the date.

In the example below, I have in column B what the Financial Year (FY) should look like. The FY runs from 1st July to 30th June each year and so I need to assess each date in column A and transpose it to the correct FY. I can then sort column B into the FY very easily.

Any help would be gratefully received as I have many lines of data.

Regards
Ben

AB
1DateFY
2
01/12/2007​
2007/8
3
06/03/2008​
2007/8
4
01/07/2008​
2008/9
5
30/01/2009​
2008/9
6
7
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
you could make a table
say on a new sheet called fiscal
all you need is two columns
1/7/2007 - 2007/2008
1/7/2008 - 2008/2009
etc

and then use
=INDEX(fiscal!B:B,MATCH(A1,fiscal!A:A,1))
to look up the fiscal year based on date

 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,384
Members
448,956
Latest member
JPav

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