LoginSignup
0
1

今日の日付に基づいて四半期の開始日を計算するための数式

Last updated at Posted at 2021-08-14

Answersで回答する時に使う情報のまとめに戻る

Date formula to show beginning of current calendar quarter and beginning of previous calendar quarter

今日の日付に基づいて四半期の開始日を計算するための数式の例を以下に示します。

IF(MONTH(TODAY())< 4, DATE(YEAR(TODAY()),1,1),//今日の日付が1月から3月の間にある場合
IF(MONTH(TODAY())< 7, DATE(YEAR(TODAY()),4,1),//今日の日付が4月から6月の終わりの場合
IF(MONTH(TODAY())< 10, DATE(YEAR(TODAY()),7,1),//今日の日付が7月から9月末までの場合
IF(MONTH(TODAY())> 9, DATE(YEAR(TODAY()),10,1),Null //今日の日付が10月から12月の間にある場合。
)
)
)
)

IF(MONTH(TODAY())< 4,  DATE(YEAR(TODAY()),1,1),
  IF(MONTH(TODAY())< 7,  DATE(YEAR(TODAY()),4,1),
    IF(MONTH(TODAY())< 10,  DATE(YEAR(TODAY()),7,1),
      IF(MONTH(TODAY())> 9,  DATE(YEAR(TODAY()),10,1),Null
      )
    )
  )
)

営業日(週末を除く)を考慮した日付の追加

How do I find the number of business days from the first day of the current fiscal quarter through today?

今ある日付から、締日を求める数式

今ある日付から、締日を求める数式

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1