VBA Date To Financial Year
Jan 11, 2010
I'm looking for a VBA code which will review the date in column C, which is in the format DD/MM/YYYY, and convert it to a financial year in column D.
So... given a financial year April to March what i think i'm looking for is...
If the month is 04 to 12 then column D should display = Current Year / Current Year + 1
If the month is 01 to 03 then column D should display = Current Year - 1 / Current Year
I need column D to be in the format XX/XX ie 10/11 for the period April 2010 to March 2011. I need the code to work from row 2 to the last used row based on data entered in column E.
View 9 Replies
ADVERTISEMENT
Aug 30, 2009
Financial Year ended on 31st March. If date is 18th August 2008, Then last date for financial year is 31st March 2009. IF date is 15th March 2009, Then also last date for financial year is 31st March 2009. I want formula / function to get last date of financial yera.
View 2 Replies
View Related
Nov 9, 2006
How do I calculate/display the financial year for a given date? For instance if my source cell has 25/11/2006 how do I get the result cell to show 2006/07 (or 06/07, 2006/2007, etc).
I've tried a Text() function but the best 'format_text' I could come up with was "yyyy/yyyy+1", which not only doesn't work, but would be wrong if the source date was in the second half of the financial year.
View 5 Replies
View Related
Jun 14, 2013
I have a report at the moment which shows me the calendar year that an action was carried out in, what I would also like to show is which of our financial years (they run April to March) the action was carried out in.
View 7 Replies
View Related
May 31, 2009
I have created a monster formula that extracts the Australian financial year (FYR) from a date string and would like to convert the formula to a nice tidy function.
the formula works on a date string with the following format: yyyy-mm-dd (2008-12-15)
for example the formula result for 2008-12-15 is 08/09 (yy/yy)
=IF(OR(LEFT(ExDate,1)+13,MID(ExDate,5,1)"-",MID(ExDate,8,1)"-",LEN(ExDate)10),"Change the expiry date format to yyyy-mm-dd",
IF(OR(MID(ExDate,3,1)+1=1,MID(ExDate,3,2)+1=11),
IF((MID(ExDate,6,2)+1)
View 9 Replies
View Related
Jun 28, 2014
I have a spreadsheet that consists of date, product number with amount received against each date.
What I need are formulas that will automatically provide me with:
1. The sub-total monthly income for each product against each financial year.
2. Total income for each product by financial year.
3. Total income for each financial year.
View 11 Replies
View Related
Apr 16, 2009
I want to create 26 - 27 folders (depends on financial year)
Basically in the current folder I want the folders to be created in the following format FE 22-04-09 for each fortnight in the financial year.
View 9 Replies
View Related
Nov 23, 2006
I have a sheet with following columns
Zones Month Revenue
Zone1 Apr-05 1111
Zone2 Apr-05 2222
Zone3 Apr-05 1222
Zone1 May-05 1451
Zone2 May-05 452
Zone3 May-05 4622
Zone1 Jun-05 891
Zone2 Jun-05 255
Zone3 Jun-05 1555
and so on all zones revenue each month.
I am learning Pivot table and struck at a point.
I am able to do simple pivot table but now want the following result
1. All the three zones in row fields.
2. Months in column field.
3. Revenue and running total of revenue (progressive sum) for all the months of desired financial years. ( I can get revenue and running total separately but I want these in alternate columns ie Revenue Apr-05, Revenue upto Apr-05, Revenue May-05, Revenue upto May-05 and so on)
Also how to get data for desired financial year only as 2005-06 (Apr-05 to March 06) or 06-07 (Apr-06 to Oct-06)?
View 9 Replies
View Related
May 14, 2009
I have dates in my column “A”, for example (A1 cell =22-Mar-1971), (A2 cell=30-Dec-1965). Now my requirement is in B column date and month from A column and year should take current year. Output in B column (B1 cell =22-Mar-2009), (B2 cell=30-Dec-2009)
View 3 Replies
View Related
Oct 13, 2008
i have the following table of information
Year DOB
7 01.09.96 -31.08.97
8 01.09.95 -31.08.96
9 01.09.94 -31.08.95
10 01.09.93 -31.08.94
11 01.09.92 -31.08.93
and a list of dates i need to look up the date to see which year it falls in and return the year
View 9 Replies
View Related
Feb 27, 2009
DATE function won't return TODAY()'s year in the "year" slot.
Is there a way convert, for example, 2/8/1963 to 2/8/2009 without using Concatenate?
View 9 Replies
View Related
Oct 15, 2007
I have a sheet in my workbook with at least 180 small tables, there may be more.
I woulds like to be able to change total formulas for all tables at once to show either year-to- date or total year.
For example:
If we have only progressed through the second period of the year, I would like to choose something to indicate period 2. At other time I may want to know the total year whether the periods are completed or not.
View 9 Replies
View Related
Jul 28, 2009
Serial No Search E220060926320061125420060612520070824620061026720061226820061127920061226 Excel tables to the web >> Excel Jeanie HTML 4
E - Year Month Date
I need F column as Month Date Year Format
View 9 Replies
View Related
Feb 25, 2014
I have a forecast monthly trial balance sheet and an Income Statement Analysis sheet. I am analyzing the Year to Date performance for Dec-2013. I need a formula that will match the income statement line i.e revenues, accounting expenses etc. and then sum horizontally from Jan-2013 to Dec 2013 ( if YTD month' Dec-2013' is greater than or equal to date range then sum horizontally the corresponding income statement lines up to the reporting month).
View 2 Replies
View Related
Jan 8, 2013
I have a document that I downloaded some data from the Internet "Kronos" and within this data there is a column for date. This column is formatted as Date (01/08/13), but it only displays the date as Sun 1/01. It's missing the year, which it should be 01/01/12. I have tried to use TEXT function to convert it to month name and day name using TEXT(N4, "mmm") and Text(N4,"ddd"), but I still getting Sun 1/01. I have also tried to use Text to columns to split this date but, it does not work. Is there any other way I can convert this date into m/d/yy?
View 2 Replies
View Related
Oct 22, 2007
what formula could I use when I type in a date another cell rounds up to Jan 1st of the next year? ie 2/1/07 & in another cell it returns 1/1/08.
View 3 Replies
View Related
Apr 29, 2008
I am having a problem which I imagine will be fairly simple to resolve but I can't figure it out!
Cell A1 contains a Date eg (01/01/07)
In Cell A2 I want to write a formula that says: Insert 'Warranty' if the system date is within 365 days of the date in Cell A1.
View 3 Replies
View Related
Aug 20, 2013
How to get only MONTH' YEAR if there is a DATE-MONTH-YEAR in a cell?
A1: 27-July-2012
Answer D1:JULY' 2012
Pl note "' " is suffixed after JULY (the month).
View 4 Replies
View Related
Apr 6, 2007
Is it possible to format cells to convert a date format of month/day/year to = year/week #/day of week? For example, 04/05/07 (April 5, 2007) would read as 7145, (7=last digit of year/ 14 = week number / 5 = day of week....Sunday being the first day of week)
View 9 Replies
View Related
Jan 9, 2013
I have a spread sheet for 12 months. I am wondering if there is a way to format to show in the cell only day of the month.
View 4 Replies
View Related
Feb 4, 2014
i have already posted this thred on general forum but didnt received the response.
[code].....
View 1 Replies
View Related
Aug 24, 2007
I have values under column headings 1 to 12 (representing months).
based upon a value for the current month in a cell (say A1), with a value of say 5... I need to sum up the values in columns 1, 2, 3, 4 and 5.
View 9 Replies
View Related
Aug 30, 2013
If I have a date format 7/1/13 that shows as Jul 13, how can I subtract 1 year from this in the next cell?
View 3 Replies
View Related
Nov 14, 2008
I have several excel files with datevalues as the timestamp (column A). I would like to add 3 more columns after the timestamp and display the following (derived from the datevalue):
column B -> Day of Year
column C-> hh:mm
column D-> ss.0
how do I split an excel datevalue into Day of Year, hours and minutes, and seconds? Which formulas do I use?
View 11 Replies
View Related
Jun 22, 2006
I want to compute date + 1 year, I am using the following:
=DATE(YEAR(C5)+1,MONTH(C5),DAY(C5))
My problem is when C5 is 2-29-2004, I get a result of 3-1-2005, when I want
2-28-2005.
I've tried playing around with my formula for a date minus 3 month's post
but can't adapt it.
=MIN(DATE(YEAR(C5),MONTH(C5)+{-2,-3},DAY(C5)*{0,1}))
View 12 Replies
View Related
Oct 23, 2007
how can I enter a date & in another cell return the same date, but the next year.(ie 5/1/07, returns 5/1/08)?
View 2 Replies
View Related
Jan 17, 2010
Trying to do a year to date formula with my numbers going across with actual,goal, percent to goal.
I want to have the ytd auto sum based on my As of date that I did a list validation for. Can't get it to work and getting very frustrated - can anyone held with this?
I attached a worksheet with the YTD listed on the far right.
View 13 Replies
View Related
Oct 2, 2007
I am looking for a way to count the number of Days after Christmas each year.
For example today is the 1st October hence it is easy to work out the number of days since last Christmas as being =Today()-25/12/2006
How do I have a reoccuring formula that is Today-Christmas each year without having to enter the year of last Christmas so that for example as at 26/12/2007 the answer will be 1 and so it will also be on the 26/12/2008?
View 9 Replies
View Related
Jan 6, 2009
I need to flag a cell red if the date in it is greater than one year past today. Then I need to to get a percentage of yes vs. no at the bottom.
View 9 Replies
View Related
Jun 12, 2006
I have a date that is save as a date variable. Is there any quick functions that can be used in VBA that will get a date split by tax year.
For Example
If I was wanting to look at tax year 06 this would be from April 06 to March 07. The year would have to be determined by a entered year Input box.
After it has been split by year I then if it falls between the dates to split the date by Month. Is there any simple functions and comparitors I can use on a date defined variable.
View 9 Replies
View Related