excel A1=0,1,2,3,4,5,6,7,8,9 其中任何一个数的时候,B1对应显示5,3,9,5,8,2,5,0,6,8 怎么写

2024-12-05 04:44:51
推荐回答(3个)
回答1:

B1公式:
=choose(A1+1,5,3,9,5,8,2,5,0,6,8)

回答2:

公式1:
=if(or(a1<0,a1>9,a1=""),"",lookup(a1,{0,1,2,3,4,5,6,7,8,9},{5,3,9,5,8,2,5,0,6,8}))
公式2:
=if(or(a1<0,a1>9,a1=""),"",choose(a1+1,5,3,9,5,8,2,5,0,6,8))

回答3:

b1:
=choose(a1+1,5,3,9,5,8,2,5,0,6,8)