跳到主要內容

如何在Excel中將日期轉換為會計年度/季度/月份?

如果您在工作表中有日期列表,並且想要快速確認這些日期的會計年度/季度/月份,則可以閱讀本教程,我想您可能會找到解決方案。

將日期轉換為會計年度

將日期轉換為會計季度

將日期轉換為會計月


箭頭藍色右氣泡 將日期轉換為會計年度

1.選擇一個單元格,然後在其中鍵入會計年度開始月份編號,在這裡,我公司的會計年度從1月7日開始,我鍵入XNUMX。請參見屏幕快照:
文檔轉換財政年度 1

2.然後您可以輸入此公式 =YEAR(DATE(YEAR(A4),MONTH(A4)+($D$1-1),1)) 放入日期旁邊的單元格中,然後將填充手柄拖到所需的範圍。文檔轉換財政年度 2

尖端:在上式中,A4表示日期單元格,D1表示會計年度開始的月份。


箭頭藍色右氣泡 將日期轉換為會計季度

如果要將日期轉換為會計季度,可以執行以下操作:

1.首先,您需要製作一張表格,如下圖所示。 在第一行中列出一年中的所有月份,然後在第二行中,鍵入每個月的相對財政季度編號。 看截圖:
文檔轉換財政年度 3

2.然後在日期列旁邊的單元格中,鍵入此公式 =選擇(MONTH(A6),3,3,3,4,4,4,1,1,1,2,2,2) 放入其中,然後將填充手柄拖到所需的範圍。文檔轉換財政年度 4

尖端:在上面的公式中,A6是日期單元格,數字系列3,3,3、1、XNUMX…是您在步驟XNUMX中鍵入的會計季度系列。


箭頭藍色右氣泡 將日期轉換為會計月

要將日期轉換為會計月份,您還需要首先創建一個表格。

1.在第一行中列出一年中的所有月份,然後在第二行中,鍵入每個月的相對會計月份數字。 看截圖:文檔轉換財政年度 5

2.然後在該列旁邊的單元格中鍵入此公式 =選擇(MONTH(A6),7,8,9,10,11,12,1,2,3,4,5,6) 放入其中,然後使用此公式將填充手柄拖動到所需的範圍。 文檔轉換財政年度 6

尖端:在上面的公式中,A6是日期單元格,數字系列7,8,9…是您在步驟1中鍵入的會計月份數字系列。


快速將非標準日期轉換為標準日期格式(mm / dd / yyyy)

在某些情況下,您可能會收到帶有多個非標準日期的工作清單,並將它們全部轉換為標準日期格式,如mm / dd / yyyy可能對您造成麻煩。 這裡 Excel的Kutools's 轉換至今 一鍵即可將這些非標準日期快速轉換為標準日期格式。  點擊即可獲得 30 天的免費全功能試用!
doc轉換日期
 
Kutools for Excel:擁有300多個便捷的Excel加載項,可以在30天內免費試用。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (27)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to set If formula is target is month i.e 07.2023 , 08.2022 ...
This comment was minimized by the moderator on the site
For Find in FY Year by month
This comment was minimized by the moderator on the site
Hi, I would like to get an OUTPUT as a Date(10/11/2022) in Colum F, from a Fiscal Year (2023) in column A and Month(11) in Colum D. As my fiscal Year starts from November and Ends in October.

Appreciate your help to find a formula in Excel. Thank
This comment was minimized by the moderator on the site
=IF(MONTH(EOMONTH(B4,0))>3,

YEAR(B4)&"-"&RIGHT(YEAR(B4)+1,2),

YEAR(B4)-1&"-"&RIGHT(YEAR(B4),2))
https://excelforfinance1.blogspot.com/2021/05/excel-formula-to-get-financial-year.html </div>;
This comment was minimized by the moderator on the site
Just check this

=IF(MONTH(I8)>3,"FY"&YEAR(I8)&"-"&YEAR(I8)+1,IF(MONTH(I8)<=3,"FY"&YEAR(I8)-1&"-"&YEAR(I8)))

Assume the target is in I8 cell with a date of 8/23/2011 , the out put will be FY2011-2012

Sathish
This comment was minimized by the moderator on the site
worked well...thank you.
This comment was minimized by the moderator on the site
Just check this
=IF(MONTH(I8)>3,"FY"&YEAR(I8)&"-"&YEAR(I8)+1,IF(MONTH(I8)<=3,"FY"&YEAR(I8)-1&"-"&YEAR(I8)))

Assume the target is in I8 cell with a date of 8/23/2011 , the out put will be <span style="letter-spacing: 0.2px; color: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit;"> </span>
Sathish
This comment was minimized by the moderator on the site
If anyone is looking for a formula to figure out what fiscal/policy year an payment/event happened, even if that fiscal year/policy doesn't start on the first of the month I came up with this.

=YEAR(A4)+((MONTH(A4)>=MONTH($D$1)+(DAY(A4)<Day($D$1)))-1)

D1 in this has to be a full date 01/06/2019 for example.

Also surely a cheeky Vlookup is a better way of doing the quarter formula

=Vlookup(Month(A6),etc.)
This comment was minimized by the moderator on the site
"=Vlookup(Month(A6),etc.)" It's so simple, yet so elegant... not sure why I didn't think of this but this was a huge find. Thank you!
This comment was minimized by the moderator on the site
I came up with a self contained choose() to calculate the fiscal year that doesn't need to use an external cell as an input.
.
Fiscal Year EndCalculation
="June 30, " & (YEAR(E2) +CHOOSE(MONTH(E2),0,0,0,0,0,0,1,1,1,1,1,1))
. * The first part is just a text string
. * & concatenates the first part to the second part which calculatesthe appropriate year.
. * Year(e2) extracts the year number from the date in column E
. * Choose() looks at the month number from that same date.
. For months Jan through June itretrieves the value 0,
. For months July thru Dec itretrieves value 1.
. The retrieved value is added to theyear extracted to give the appropriate year end
“June 30, 2020”.

This is on the assumption that a company is not likely to be changing it's year end. Doesn't work if the sheet is being used for multiple companies with different year ends ...
This comment was minimized by the moderator on the site
Please correct the fiscal-year formula you give above! It does not work unless the fiscal year begins with month 7. This formula will work just fine:

=YEAR(DATE(YEAR(A4),MONTH(A4)+12-($D$1-1),1))

But it is still way more complex than it needs to be. Use Michael's formula (but correct his typo):

=YEAR(A4)+(MONTH(A4)>=$D$1)
This comment was minimized by the moderator on the site
IF YOU WANT TO FIND FISCAL YEAR IN INDIA....
WRITE EXCEL QUERY AS BELOW


=(YEAR(DATE)+(MONTH(DATE)>=4))-1
This comment was minimized by the moderator on the site
You can use below formulae:


Here Col K2 is our date column which is to be converted in format 20XX-XY (e.g. 2017-18).

=IF(MONTH(K2)<4,TEXT(DATE(YEAR(K2)-1,MONTH(K2),DAY(K2)),"YYYY-")&TEXT(DATE(YEAR(K2),MONTH(K2),DAY(K2)),"YY"),TEXT(DATE(YEAR(K2),MONTH(K2),DAY(K2)),"YYYY-")&TEXT(DATE(YEAR(K2)+1,MONTH(K2),DAY(K2)),"YY"))
This comment was minimized by the moderator on the site
You can also use below formula for the same condition :


=IF(MONTH(K2)<4,YEAR(K2)-1&"-"&TEXT(K2,"YY"),YEAR(K2)&"-"&TEXT(K2,"YY")+1)
This comment was minimized by the moderator on the site
Thank you!!
This comment was minimized by the moderator on the site
What a legend. Thank you!
This comment was minimized by the moderator on the site
thank you
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations