formula for Financial year with date in excel - excel-formula

i want formula for following like if i put date like 01/04/2014 then i want date as start of Financial year which comes to 01/04/2014 but if date is like 01/11/2013 then it should give result as 01/04/2013
Thanks,
Shreyas

Supposing you put your date in A1:
=IF(A1<DATE(YEAR(A1),4,1),DATE(YEAR(A1)-1,4,1),DATE(YEAR(A1),4,1))

Related

How to get first month of the year from TODAY Function in Excel?

In a excel sheet range A1:A12, I need months like:
Jan 2020 to Dec 2020 for current year.
and Jan 2021 to Dec 2021 for next year. and so on. Automatically.
I google it but did not find any suitable result.
Plz help me and ignore my weak English and grammar.
Thank You.
Let's say you want a real date, using the 1st of each month (you can then format the cells to just show mmm yyyy or whatever other format you like). In your first cell enter:
=DATE(YEAR(TODAY()),ROWS($A$1:$A1),1)
and copy it down. If you actually want the month as text, just wrap that in the TEXT function:
=TEXT(DATE(YEAR(TODAY()),ROWS($A$1:$A1),1),"mmm yyyy")
Note that the DATE function will happily adjust the year if you pass a month number greater than 12.
Use below formula-
=TEXT(DATE(2020+INT(ROW()/13),MOD(ROW(),13)+INT(ROW()/13),1),"mmm-yyyy")
To get This using =TODAY() function you have to use 2 cells.
Let's use A1 and B1 as the 2 cells.
In A1 you will display today's dat as dd/mm/yyyy
=TODAY() type this in A1
In B1 you will convert it to month and year.
=TEXT(A1,"mmm-yyyy") type this in B1
But using this method you can only get this month.

Adding the following month using same format EXCEL

I hope you all are healthy during these strange times. I do have a question in regards to creating a date in excel. I am trying to auto populate the date based on the current date. First the date pops up, followed by the month and year under that (i.e. 4/9/2020 will populate as APR-20 underneath that)... Finally from the formula I used to create the specific date and year format (MMM-YY) I need to create another date with the same format but for the following month (i.e. APR-20 is the current month and year, but now also need the formula to show me MAY-20 (format MMM-YY). This is the formula I used in excel to create the current month and year. Thank you guys so much!
=UPPER(TEXT(A1,"MMM")&"-"&TEXT(A1,YY))
A1 = the current date of 4/9/2020
Thank you again!
Put this in A2 and copy down:
=UPPER(TEXT(EOMONTH($A$1,ROW(A1)-1),"MMM\-YY"))
You Can Perform this by EOMONTH function. It Returns the serial number for the last day of the month that is the indicated number of months before or after start date.
Syntax :
EOMONTH(start_date, months)
For more details you can check this link https://support.office.com/en-us/article/eomonth-function-7314ffa1-2bc9-4005-9d66-f49db127d628

Dynamic filling of Month and Year from TODAY()

Is there a way to obtain Month-Year from today's date and fill it down for the past 5 years?
such that it will dynamically change according to the month and year from my date.
Thanks for the help.
Use EDATE() to subtract one month in each row. Enter the following formula into A4:
=EDATE(A1, -1)
Then copy this formula down the A column.

CountIF by date and year

In excel, I have a table that contains dates in the format mm/dd/yyyy. I am trying to gather some stats on this table, more specifically how many there are from a month number that is stored in another cell and the current year. So for example if the value in the other cell was 1 and the current year was 2015 I would want to return the number of dates from January 2015. Would this be possible by a count if statement? Any help with this issue would be greatly appreciated.
With A1 being the cell containing the Month number, try:
=COUNTIFS(TableDateColumn,">="&DATE(YEAR(TODAY()),A1,1),TableDateColumn,"<"&DATE(YEAR(TODAY()),A1+1,1))

What formula can I use to change 5/19/2014 to 5/2014 date in Excel?

What formula to use to change 5/19/2014 to 5/2014 date in Excel? I need to change the actual cell, not just the format. In other words, I need to convert the month, day, year into a month and year only.
Use TEXT like this:
=TEXT(A1, "m/yyyy")
Is this what you're trying?

Resources