0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Excel】関数で取得データがマスタリストに含まれているかどうかを判別 メモ

Last updated at Posted at 2025-04-06

課題

取得したデータを元にレポートを作成したい。
全てのデータを集計するのではなく、リストに紐づいたデータのみを柔軟に抽出したい。
※調査中

①if,index,find関数を組み合わせる

=IF(COUNT(INDEX(FIND($F$3:$F$5,[@キャンペーン名]),)),[@キャンペーン名],"対象外")

「sample1」
image.png

Count関数

数値の個数を数える
=COUNT(値1,値2,値3)

index関数

参照中の行と列で指定した位置の値を求める
=INDEX(参照,行番号,列番号)

FIND関数

文字列の位置を調べる
=FIND(検索文字列,対象,開始位置)

対象で指定した文字が、検索文字列の中の何文字目かを調べる。
結果は整数で返される?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?