Warning: include_once(/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/menu.php): failed to open stream: No such file or directory in /home/users/2/moriya-h5/web/confrage/excel/cell_format/make_list/make_list.html on line 29

Warning: include_once(): Failed opening '/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/menu.php' for inclusion (include_path='.:/usr/local/php/5.6/lib/php') in /home/users/2/moriya-h5/web/confrage/excel/cell_format/make_list/make_list.html on line 29
 
トップページ >  Excel >  リストを作成する
初版2007/06/14: 最終更新日2007/06/14
  リストを作成する
リストを作成する
リスト(コンボボックス)を作成するには、まずリストの項目をどこかのセルに記述します。
例えば下図のように記述します。

リストを作成する
リストを作成する

このようにリスト項目を作成したら、後はそのリストを作成したいセルをアクティブにして[データ] - [入力規則]を選択すると下図ウィンドウが開きますので、ここでリストの項目範囲を設定します。

リストを作成する
リストを作成する

これで、「OK」を押すと下図のようにアクティブセルをリストにすることが出来ます。


リストを作成する
リストを作成する



別シートにリストを作成する
リストにしたいセルとは別のsheetにリストの一覧を作成したい場合、さきほどのようにリストを作成すると以下のようなエラーが表示されます。

別シートにリストを作成する
別シートにリストを作成する

このため別sheetにリストの一覧を作成するには indirect 関数を使用します。
下図のようにindirect関数の第一引数に別シートに書いたリスト範囲を設定し(下図の場合、Q47:Q49)、第二引数はR1C1形式でない場合はtrueを指定します。

別シートにリストを作成する
別シートにリストを作成する

これで、別シートに作成したリスト内容をリストに表示することが可能になります。


Warning: include_once(/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/side_bar.php): failed to open stream: No such file or directory in /home/users/2/moriya-h5/web/confrage/excel/cell_format/make_list/make_list.html on line 91

Warning: include_once(): Failed opening '/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/side_bar.php' for inclusion (include_path='.:/usr/local/php/5.6/lib/php') in /home/users/2/moriya-h5/web/confrage/excel/cell_format/make_list/make_list.html on line 91