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 5 years have passed since last update.

EXCEL > (0.0, 0.25, 0.5, 0.75, 1.0) を (0.0, 0.5, 0.5, 1.0, 1.0)に変換する

Last updated at Posted at 2016-07-31
動作環境
Excel 2013

振舞

(0.0, 0.25, 0.5, 0.75, 1.0)
という数値セットを
(0.0, 0.5, 0.5, 1.0, 1.0)
に変換したい。

実装

2倍した値で切り上げして、その値を1/2にすればよさそう。

参考 http://kokoro.kir.jp/excel/round.html

=ROUNDUP(2*B4,0)/2
とする。B4は変換元の数値セル。
少数第1位で切り上げするので、桁数を0としている。

結果

qiita.png

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?