vlookupを使います。
A4に1と入れるとしてB4はこんな感じ

  A B
1 県コード 県名
2 1 メロン
3 2 バナナ
4 1 =vlookup(A4,A2:B3,2)

樋口

On 2017/04/01 20:25, 福永ケンセイ wrote:
よろしくお願いします。

下記のようにテーブル名「果物コード表」を作成

県コード 県名
 1 メロン
 2 バナナ

テキストボックスに果物コード
「1」を入力すると隣のボックスに「メロン」と出るようにしたい。
どなたかわかる方がいれば教えていただきませんか。


--
Unsubscribe instructions: E-mail to users+unsubscr...@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/users/
All messages sent to this list will be publicly archived and cannot be deleted

メールによる返信