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におけるFill?フィル?を関数のみで表現

Posted at

こんな感じの歯抜けのデータを
2019-12-25_20h33_46.png

空白行は上の行をコピー

=IF(INDIRECT("B"&ROW()),TEXT(INDIRECT("B"&ROW()),"YYYY/M/D") &" "& TEXT(INDIRECT("C"&ROW()),"hh:mm:ss"),INDIRECT("Z"&(ROW()-1)))

2019-12-25_20h35_42.png

日にちと時間を結合して分かりづらいので、C列とZ列で簡単に解説

Excel
//もし表示対象Cに値があればCを表示し、Cに値がなければ、出力行の一つ上の値を表示する
=IF(INDIRECT("C"&ROW()),INDIRECT("C"&ROW()) ,INDIRECT("Z"&(ROW()-1)))

ということです

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?