提示:其他語言是Google翻譯的。 你可以訪問 English 版本。
登入
x
or
x
x
註冊
x

or

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

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

將日期轉換為會計年度

將日期轉換為財政季度

將日期轉換為會計月份


轉換為日期

在某些情況下,工作表中可能會有多個非標準日期,並將其全部轉換為標準日期mm / dd / yyyy,這對您而言可能會很麻煩。 這裡 Kutools for Excel's Conver到日期 可以快速將日期轉換為標準日期,格式為mm / dd / yyyy。
doc轉換日期
Office選項卡在Office中啟用選項卡式編輯和瀏覽,使您的工作更輕鬆......
Kutools for Excel解決了您的大多數問題,並使您的生產率提高了80%
  • 重用任何東西: 將最常用或最複雜的公式,圖表和其他任何內容添加到您的收藏夾中,並在將來快速重複使用它們。
  • 超過20文本功能: 從文本字符串中提取數字; 提取或刪除部分文字; 將數字和貨幣轉換為英文單詞。
  • 合併工具:將多個工作簿和工作表合二為一; 合併多個單元格/行/列,而不會丟失數據; 合併重複的行和總和。
  • 拆分工具:根據價值將數據分割成多個工作表; 一本工作簿可轉換為多個Excel,PDF或CSV文件; 一列到多列。
  • 粘貼跳過 隱藏/過濾行; 數和總和 按背景顏色; 將個性化電子郵件批量發送給多個收件人。
  • 超級過濾器: 創建高級過濾方案並應用於任何工作表; 分類 按週,日,頻率等; 過濾 通過大膽,公式,評論......
  • 超過300強大的功能; 與Office 2007-2019和365一起使用; 支持所有語言; 在您的企業或組織中輕鬆部署。

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


Kutools for Excel, 與以上 120 方便的Excel功能,提高工作效率,節省工作時間。

1。 選擇一個單元格,並在其中輸入財政年度開始月份編號,在這裡,我公司的會計年度從7月份開始1st,然後鍵入7。 看截圖:
DOC變頻財政年1

2。 然後你可以輸入這個公式 =YEAR(DATE(YEAR(A4),MONTH(A4)+($D$1-1),1)) 放到日期旁邊的單元格中,然後將填充句柄拖到您需要的範圍內。DOC變頻財政年2

小技巧: :在上述公式中,A4表示日期單元格,D1表示會計年度開始的月份。


箭頭藍色右泡 將日期轉換為財政季度

如果您想將日期轉換為財政季度,則可以這樣做:

Kutools for Excel, 與以上 120 方便的Excel功能, 提高工作效率,節省工作時間。

1。 首先,你需要製作一張如下圖所示的表格。 在第一行列出一年中的所有月份,然後在第二行中輸入每個月的相關財政季度編號。 看截圖:
DOC變頻財政年3

式 再也不用擔心Excel中長的公式了! Kutools for Excel's 自動文本 可以將所有公式添加到組中
作為自動文本,並解放你的大腦! 點擊這裡了解自動文本 點擊這裡獲得免費試用

2。 然後在日期列旁邊的單元格中輸入此公式 =選擇(MONTH(A6),3,3,3,4,4,4,1,1,1,2,2,2) 進入它,然後將填充手柄拖動到您需要的範圍。DOC變頻財政年4

小技巧: :在上述公式中,A6是日期單元格,數字系列3,3,3 ...是在步驟1中鍵入的會計季度系列。


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

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

1。 在第一行中列出一年中的所有月份,然後在第二行中輸入每個月的相關會計月數。 看截圖:DOC變頻財政年5

2。 然後在列旁邊的單元格中輸入此公式 =選擇(MONTH(A6),7,8,9,10,11,12,1,2,3,4,5,6) 進入它,並用這個公式將填充柄拖到你需要的範圍內。

DOC變頻財政年6
小技巧: :在上述公式中,A6是日期單元格,數字系列7,8,9 ...是您在步驟1中鍵入的會計月份系列號。

你可能會在這裡:

應用日期格式 (根據需要將日期更改為多個日期格式)

文檔應用日期格式


Kutools for Excel解決了您的大多數問題,並使您的生產率提高了80%

  • 重用: 快速插入 複雜的公式,圖表 以及你以前用過的任何東西; 加密單元格 密碼; 創建郵件列表 並發送電子郵件...
  • 超級方程式酒吧 (輕鬆編輯多行文字和公式); 閱讀佈局 (輕鬆讀取和編輯大量單元格); 粘貼到過濾範圍...
  • 合併單元格/行/列 不丟失數據; 分裂細胞含量; 組合重複的行/列...防止重複的細胞; 比較範圍...
  • 選擇複製或唯一 行; 選擇空行 (所有細胞都是空的); 超級查找和模糊查找 在許多工作簿中; 隨機選擇......
  • 精確複製 多個單元格而不更改公式參考; 自動創建參考 多張表; 插入項目符號,複選框等等......
  • 提取文本,添加文本,按位置刪除, 刪除空間; 創建和打印分頁小計; 在單元格內容和註釋之間轉換...
  • 超級過濾器 (將過濾方案保存並應用到其他工作表); 高級排序 按月/週/日,頻率等; 特殊過濾器 用粗體,斜體......
  • 結合工作簿和工作表; 根據鍵列合併表; 將數據拆分為多個表格; 批量轉換xls,xlsx和PDF...
  • 超過300強大的功能。 支持Office / Excel 2007-2019和365。 支持所有語言。 在您的企業或組織中輕鬆部署。 全功能30天免費試用。
kte tab 201905

Office選項卡為Office提供選項卡式界面,使您的工作更輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,Publisher,Access,Visio和Project。
  • 在同一窗口的新選項卡中打開並創建多個文檔,而不是在新窗口中。
  • 通過50%提高您的工作效率,每天為您減少數百次鼠標點擊!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Fraser · 2 months ago
    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.)
  • To post as a guest, your comment is unpublished.
    Ron · 3 months ago
    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 ...
  • To post as a guest, your comment is unpublished.
    Bret Sutton · 1 years ago
    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)
  • To post as a guest, your comment is unpublished.
    Jay Joshi · 1 years ago
    IF YOU WANT TO FIND FISCAL YEAR IN INDIA....
    WRITE EXCEL QUERY AS BELOW


    =(YEAR(DATE)+(MONTH(DATE)>=4))-1
  • To post as a guest, your comment is unpublished.
    Nakul Dahiya · 1 years ago
    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"))
  • To post as a guest, your comment is unpublished.
    Michael · 2 years ago
    To calculate the FISCAL YEAR, MONTH, and QUARTER of a given date (here in A4), these formulas will work for any FY starting month (here in $D$1):
    FISCAL YEAR =YEAR(A4)+(MONTH(A4)]=$D$1)
    FISCAL MONTH =MOD(MONTH(A4)-$D$1;12)+1
    FISCAL QUARTER =QUOTIENT(MOD(MONTH(A4)-$D$1;12);3)+1

    How it works (examples assume FY starting month in $D$1 = July = 7):

    A. (see also formula of MikeyMoe316 below)
    As in MS EXCEL the equivalent value for TRUE = 1 and FALSE = 0, the FISCAL YEAR can also be calculated without the IF clause as:
    FISCAL YEAR =YEAR(A4)+(MONTH(A4)]=$D$1)

    B. In the Fiscal Month formula, the innermost term [MONTH(A4) - $D$1] will shift the months by the FY starting month, i.e. JUL(7) - StartMonth(7) = 7 - 7 = 0.
    So the result for date in fiscal start month = 0, while all others range from -11..+11, e.g. Jul = 0, Aug= 1, ... , Dec = 5; Jan = -6; Feb = -5; Jun = -1

    C. Running the result [B] above through the term [MOD([B];12)], will retain the positive numbers, while increasing any negative [B] by 12.
    Now the results range from 0.11, e.g. Jul = 0, Aug= 1, ... , Dec = 5; Jan = 6; Feb = 7; Jun = 11

    D. The final [+1] term will adjust the 0..11 range of [C] to be the correct 1..12 fiscal month range, so the FiscalStartMonth = 1, et voila:
    e.g. Jul = 1, Aug= 2, ... , Dec = 6; Jan = 7; Feb = 8; Jun = 12

    E. Converting a FISCAL MONTH to a FISCAL QUARTER becomes relatively easy then, knowing that quarter (= 3 months) can be calculated by
    QUARTER = QUOTIENT( [Month] - 1 ; 3) + 1

    F. Replacing [Month] with [Fiscal Month] in above formula to get .......... QUOTIENT( [Fiscal Month] - 1 ; 3) + 1
    Now we can insert the FISCAL MONTH formula from above and get .... QUOTIENT( MOD(MONTH(A4)-$D$1;12)+1 - 1 ; 3) + 1
    The [+1 -1] in the middle can be removed, and we end up with ............. QUOTIENT( MOD(MONTH(A4)-$D$1;12) ; 3) + 1
  • To post as a guest, your comment is unpublished.
    MikeyMoe316 · 2 years ago
    In the Fiscal Year example, the formula in cell D4 should be:
    =YEAR(A4)+IF(MONTH(A4)>=$D$1,1,0)
    This will work for any fiscal year, not just one that starts with July
  • To post as a guest, your comment is unpublished.
    Edward · 2 years ago
    Hi

    Our fiscal year starts in February and ends in January of the following year (for example 1-Feb-2017 to 31-Jan-2018 should = Fiscal Year 2018, hence 31-Jul-2017 should be in Fiscal Year 2018, your formula computes Fiscal Year 2017). So I did everything as you stated above and changed the "Fiscal year starting month" to 2 and it does not calculate it right for some dates. I am not sure why. I would appreciate if you could please get back to me. Many thanks
    • To post as a guest, your comment is unpublished.
      J. Randle · 2 years ago
      [quote name="Edward"]Hi

      Our fiscal year starts in February and ends in January of the following year (for example 1-Feb-2017 to 31-Jan-2018 should = Fiscal Year 2018, hence 31-Jul-2017 should be in Fiscal Year 2018, your formula computes Fiscal Year 2017). So I did everything as you stated above and changed the "Fiscal year starting month" to 2 and it does not calculate it right for some dates. I am not sure why. I would appreciate if you could please get back to me. Many thanks[/quote]

      Would this work for you?

      =IF(MONTH(A1)>=2,YEAR(A1)+1,YEAR(A1))
      Any month >=Feb would return the current year+1 which is your FY. Otherwise, it will only return the year as is. When I did Ctrl+: in cell A1 to paste date in MS Excel, it returned 2018. Changed the 04 to a 01 and it returned 2017.
  • To post as a guest, your comment is unpublished.
    jjcasta3 · 2 years ago
    Would it be easier to do this [b]MONTH(A4)+(6)[/b] instead of [b]MONTH(A4)+($D$1-1)[/b] for the fiscal year calculations?

    Thanks for the post!
  • To post as a guest, your comment is unpublished.
    Kamran · 2 years ago
    An easy formula for Fiscal Month:
    =IF(+TEXT(Index!E2,"M")-6
  • To post as a guest, your comment is unpublished.
    charles · 3 years ago
    Please ignore my previous Comment.
  • To post as a guest, your comment is unpublished.
    charles · 3 years ago
    I believe your formula may be incorrect. If your fiscal year starts in July - the 7th month. This would indicate a new "fiscal" year. January 1 2014 & March 3rd 2014; should they not fall under Fiscal Year 2013.. Not 2014 as calculated? I am asking because my fiscal year starts in April (ends in March) and I am trying to figure out the formula. When I type in 4, it does not appear to populate correctly.
  • To post as a guest, your comment is unpublished.
    CW · 3 years ago
    I am trying to convert date to fiscal month however the CHOOSE function does not seem to calculate ? IE 30/09/2015 shows 3..

    =CHOOSE(MONTH(G4),7,8,9,10,11,12,1,2,3,4,5,6)