excel中如何设置当某个单元格等于某个数时,另一个单元格值等于条件对应的另外一个值?

2024-10-30 01:17:14
推荐回答(2个)
回答1:

G2=3时,H2提成多少?假设是0
H4=E4*LOOKUP(1,0/(G4>{0,3,4,5,6,7,9}),{0,3,4,5,6,7,10}%)
下拉

回答2:

=LOOKUP(G4,{0,3,4,5,6,7,9},{0,3,4,5,6,7,10}%)