Note: The other languages of the website are Google-translated. Back to English
登陆  \/ 
x
or
x
点此注册  \/ 
x

or

如何在Excel中将日期转换为会计年度/季度/月份?

如果您在工作表中有日期列表,并且想要快速确认这些日期的会计年度/季度/月份,则可以阅读本教程,我想您可能会找到解决方案。

将日期转换为会计年度

将日期转换为会计季度

将日期转换为会计月


箭头蓝色右气泡 将日期转换为会计年度

1.选择一个单元格,然后在其中键入会计年度开始月份编号,在这里,我公司的会计年度从1月7日开始,我键入XNUMX。请参见屏幕快照:
doc-convert-财政年度1

2.然后您可以输入此公式 =YEAR(DATE(YEAR(A4),MONTH(A4)+($D$1-1),1)) 放入日期旁边的单元格中,然后将填充手柄拖到所需的范围。doc-convert-财政年度2

小技巧:在上式中,A4表示日期单元格,D1表示会计年度开始的月份。


箭头蓝色右气泡 将日期转换为会计季度

如果要将日期转换为会计季度,可以执行以下操作:

1.首先,您需要制作一张表格,如下图所示。 在第一行中列出一年中的所有月份,然后在第二行中,键入每个月的相对财政季度编号。 看截图:
doc-convert-财政年度3

2.然后在日期列旁边的单元格中,键入此公式 =选择(MONTH(A6),3,3,3,4,4,4,1,1,1,2,2,2) 放入其中,然后将填充手柄拖到所需的范围。doc-convert-财政年度4

小技巧:在上面的公式中,A6是日期单元格,数字系列3,3,3、1、XNUMX…是您在步骤XNUMX中键入的会计季度系列。


箭头蓝色右气泡 将日期转换为会计月

要将日期转换为会计月份,您还需要首先创建一个表格。

1.在第一行中列出一年中的所有月份,然后在第二行中,键入每个月的相对会计月份数字。 看截图:doc-convert-财政年度5

2.然后在该列旁边的单元格中键入此公式 =选择(MONTH(A6),7,8,9,10,11,12,1,2,3,4,5,6) 放入其中,然后使用此公式将填充手柄拖动到所需的范围。 doc-convert-财政年度6

小技巧:在上面的公式中,A6是日期单元格,数字系列7,8,9…是您在步骤1中键入的会计月份数字系列。


快速将非标准日期转换为标准日期格式(mm / dd / yyyy)

在某些情况下,您可能会收到带有多个非标准日期的工作清单,并将它们全部转换为标准日期格式,如mm / dd / yyyy可能会给您带来麻烦。 这里 Kutools for Excel's 转换至今 一键即可将这些非标准日期快速转换为标准日期格式。  在30天内点击免费的全功能试用版!
doc转换日期
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在30天内免费试用。


最佳办公效率工具

Kutools for Excel解决了您的大多数问题,并使您的生产率提高了80%

  • 重用: 快速插入 复杂的公式,图表 以及您以前使用过的任何东西; 加密单元 带密码 创建邮件列表 并发送电子邮件...
  • 超级公式栏 (轻松编辑多行文本和公式); 阅读版式 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不会丢失数据; 拆分单元格内容; 合并重复的行/列...防止细胞重复; 比较范围...
  • 选择重复或唯一 行; 选择空白行 (所有单元格都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择...
  • 确切的副本 多个单元格,无需更改公式参考; 自动创建参考 到多张纸; 插入项目符号,复选框等...
  • 提取文字,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级滤镜 (将过滤方案保存并应用于其他工作表); 高级排序 按月/周/日,频率及更多; 特殊过滤器 用粗体,斜体...
  • 结合工作簿和工作表; 根据关键列合并表; 将数据分割成多个工作表; 批量转换xls,xlsx和PDF...
  • 超过300种强大功能。 支持Office / Excel 2007-2019和365。支持所有语言。 在您的企业或组织中轻松部署。 完整功能30天免费试用。 60天退款保证。
kte选项卡201905

Office选项卡为Office带来了选项卡式界面,使您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
officetab底部
Say something here...
symbols left.
You are guest
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.
    Punit · 1 months ago
    =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 
  • To post as a guest, your comment is unpublished.
    Sathish · 2 months ago
    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
    • To post as a guest, your comment is unpublished.
      raghu · 7 days ago
      worked well...
      thank you.
  • To post as a guest, your comment is unpublished.
    Sathish · 2 months ago
    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  

    Sathish
  • To post as a guest, your comment is unpublished.
    Fraser · 1 years 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 · 1 years 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 · 2 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 · 2 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 · 3 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.
      Vinod · 2 years ago
      Thank you!!
    • To post as a guest, your comment is unpublished.
      ClaireH · 2 years ago
      What a legend. Thank you!
    • To post as a guest, your comment is unpublished.
      Ravi · 3 years ago
      thank you
  • To post as a guest, your comment is unpublished.
    Michael · 3 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 · 3 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 · 4 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 · 4 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.
        Bea Viveros · 3 years ago
        WOW so easy thanks!!
  • To post as a guest, your comment is unpublished.
    jjcasta3 · 4 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 · 4 years ago
    An easy formula for Fiscal Month:
    =IF(+TEXT(Index!E2,"M")-6
  • To post as a guest, your comment is unpublished.
    charles · 4 years ago
    Please ignore my previous Comment.
  • To post as a guest, your comment is unpublished.
    charles · 4 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 · 5 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)