#1   Report Post  
Posted to microsoft.public.excel.misc
PK PK is offline
external usenet poster
 
Posts: 69
Default referencing dates

I have a number of dated enteries in a spreadsheet. As our Financial year
starts April 1st and ends March 31st following year I would like to reference
the enteries by financial year.

Fianancial I have dates in column A and would like to reference them by
financial year in column B

A B
21/04/06 06/07
17/10/05 05/06
13/08/06 06/07
17/03/06 05/06

Is this possible
--
pk
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default referencing dates

If the date is in A1, then:

=IF(A1<38808,"05/06","06/07")

This will work for all dates in fiscal years 2005 and 2007. Clearly it will
NOT work outside of that.
--
Gary''s Student - gsnu200752


"PK" wrote:

I have a number of dated enteries in a spreadsheet. As our Financial year
starts April 1st and ends March 31st following year I would like to reference
the enteries by financial year.

Fianancial I have dates in column A and would like to reference them by
financial year in column B

A B
21/04/06 06/07
17/10/05 05/06
13/08/06 06/07
17/03/06 05/06

Is this possible
--
pk

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default referencing dates

Sample TAble

Date Year Start Values Sumary Totals
21/04/2006 2006 12.00 2005 46
17/10/2005 2005 34.00 2006 45
13/08/2006 2006 45.00
17/03/2006 2005 12.00

Formula to extract year start in cell B3:
=IF(AND(A3=DATE(YEAR(A3),4,1),A3<=DATE(YEAR(A3)+1 ,3,31)),YEAR(A3),YEAR(A3)-1)

Formula in Cell F3
=SUMPRODUCT(--(B3:B6=E3)*(C3:C6))

Years entered as text in column E

Will this help?
Peter

"PK" wrote:

I have a number of dated enteries in a spreadsheet. As our Financial year
starts April 1st and ends March 31st following year I would like to reference
the enteries by financial year.

Fianancial I have dates in column A and would like to reference them by
financial year in column B

A B
21/04/06 06/07
17/10/05 05/06
13/08/06 06/07
17/03/06 05/06

Is this possible
--
pk

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default referencing dates

Sorry I forgot to make absolute the ranges for F3. Should have been

=SUMPRODUCT(--($B$3:$B$6=E3)*($C$3:$C$6))
Which makes the values correct.

Peter

"Billy Liddel" wrote:

Sample TAble

Date Year Start Values Sumary Totals
21/04/2006 2006 12.00 2005 46
17/10/2005 2005 34.00 2006 45
13/08/2006 2006 45.00
17/03/2006 2005 12.00

Formula to extract year start in cell B3:
=IF(AND(A3=DATE(YEAR(A3),4,1),A3<=DATE(YEAR(A3)+1 ,3,31)),YEAR(A3),YEAR(A3)-1)

Formula in Cell F3
=SUMPRODUCT(--(B3:B6=E3)*(C3:C6))

Years entered as text in column E

Will this help?
Peter

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default referencing dates

There's probably a simpler way, but try:
=IF(MONTH(A1)<4,TEXT(MOD(YEAR(A1)-1,100),"00")&"/"&TEXT(A1,"yy"),TEXT(A1,"yy")&"/"&TEXT(MOD(YEAR(A1)+1,100),"00"))
--
David Biddulph

"PK" wrote in message
...
I have a number of dated enteries in a spreadsheet. As our Financial year
starts April 1st and ends March 31st following year I would like to
reference
the enteries by financial year.

Fianancial I have dates in column A and would like to reference them by
financial year in column B

A B
21/04/06 06/07
17/10/05 05/06
13/08/06 06/07
17/03/06 05/06

Is this possible
--
pk





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing a different tab by referencing a list in the current s Kevin Excel Worksheet Functions 3 July 6th 07 07:57 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 05:08 AM


All times are GMT +1. The time now is 10:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"