0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

エクセル 消費税 端数処理 関数

Posted at

TL;DR INT関数で良い

請求書の処理などで消費税を計算する際
以下の方法があると思います。
・単純に*0.1→デフォルトは四捨五入
・ROUND→四捨五入 
・ROUNDDOWN→切り捨て
・FLOOR→切り捨て
・INT→切り捨て
・ROUNDUP→切り上げ
・CEILING→切り上げ

まず方針としては国税庁の方針に従い小数点以下切り捨てとします。
https://www.nta.go.jp/taxes/shiraberu/taxanswer/shohi/6371.htm

通常の掛け算でも切り捨て設定はできると思いますが不安なので下記関数に絞ります。
・ROUNDOWN→切り捨て
・FLOOR→切り捨て
・INT→切り捨て

どれも切り捨て関数なのでややこしいですが、
消費税は小数点以下を切り捨てるだけでいいので
少数点以下切り捨て業者のINTで良いと思います。
他は桁数の指定をしないといけないので若干手数が増えます。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?