比如有下面的要求,我们把表格中出现的123依次替换成语文,数学

替换的数字 科目
1 语文
2 数学
3 英语
4 物理
5 化学
6 生物

Excel选择函数CHOOSE用法详解-趣帮office教程网

这个时候我们可以用CHOOSE替换成我们想要的文字

=CHOOSE(D493,"语文","数学","英语","物理","化学","生物")

D493是引用的单元格位置,我们把D493直接换成D493中的数也就是1

=CHOOSE(1,"语文","数学","英语","物理","化学","生物")

CHOOSE的第一个参数只能是1-254之间的整数

除了第一个参数,后面就是我们的返回值参数

第一个参数是1,返回后面的参数第一个也就是语文

第一个参数是2,返回后面的参数第二个也就是数学

第一个参数是3,返回后面的参数第三个也就是英语

一次类推

Excel选择函数CHOOSE用法详解-趣帮office教程网

替换的数字 科目(函数返回值) 函数公式
1 语文 =CHOOSE(D493,"语文","数学","英语","物理","化学","生物")
2 数学 =CHOOSE(D494,"语文","数学","英语","物理","化学","生物",)
3 英语 =CHOOSE(D495,"语文","数学","英语","物理","化学","生物",)
4 物理 =CHOOSE(D496,"语文","数学","英语","物理","化学","生物",)
5 化学 =CHOOSE(D497,"语文","数学","英语","物理","化学","生物",)
6 生物 =CHOOSE(D498,"语文","数学","英语","物理","化学","生物",)
1 语文 =CHOOSE(D499,"语文","数学","英语","物理","化学","生物",)
2 数学 =CHOOSE(D500,"语文","数学","英语","物理","化学","生物",)
3 英语 =CHOOSE(D501,"语文","数学","英语","物理","化学","生物",)
1 语文 =CHOOSE(D502,"语文","数学","英语","物理","化学","生物",)
3 英语 =CHOOSE(D503,"语文","数学","英语","物理","化学","生物",)
4 物理 =CHOOSE(D504,"语文","数学","英语","物理","化学","生物",)
5 化学 =CHOOSE(D505,"语文","数学","英语","物理","化学","生物",)
6 生物 =CHOOSE(D506,"语文","数学","英语","物理","化学","生物",)