有没有办法在下拉行单元格附近的不同列上打印字符串?

问题描述

Excel File template

所以我想选择在 a2 上说“air”,然后我想只在 c2 和 e2 上写“fill”。但如果我选择“海洋”,我希望“填充”只写在 d2 上。

可以用excel做吗?

解决方法

单元格公式

C2=IF(A2="Air","Fill","")
D2=IF(A2="Ocean","")
E2=IF(A2="Air","")

enter image description here