0

3000 行を超えるスプレッドシートがあり、列 A の特定の値 (v1、v2、...) を列 B と C の内容に置き換えたいと考えています。

列B、C、...のコンテンツの長さは固定されていないため、Excelで提供されているREPLACE関数を使用することはできません.
内容が非常に長いため、行ごとに編集することもできません。簡単な例:

A列

{who} is the coach of {team} 
{who} is the coach of {team}
{who} is the coach of {team}

B列

Alex Ferguson
Roberto Mancini
Rafael Benitez

C列

Man United 
Man City 
Chelsea

D列

Alex Ferguson is the coach of Man United
Roberto Mancini is the coach of Man City
Rafael Benitez is the coach of Chelsea

列 D が必要です (列 B は {who} を置き換え、列 c は {team} を置き換えます)。

4

1 に答える 1

3

列 D でこれを試してください: =SUBSTITUTE(SUBSTITUTE(A1,"{who}",B1),"{team}",C1)

列 A の "{who}" なしでも実行できます: =B1 & " は " & C1 のコーチです

于 2013-02-24T13:10:24.527 に答える