Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用验证来创建需要不同值的事物的下拉列表。因此,在下一列中,我想创建一个公式来检查列表中是否已选择任何内容(否则不显示任何内容,例如“”)。然后,如果选择了某个项目,则将其乘以某个值,例如 2,然后显示总数。
=if(isblank(A1);"";A1*2)如果 A1 为空白,则返回空白,否则返回 A1 中的值的两倍。如果a certain item您的意思是只有一个有效项目要加倍,那么请改为尝试“某些项目”的值=if(A1=x;A1*2;"")在哪里。x
=if(isblank(A1);"";A1*2)
a certain item
=if(A1=x;A1*2;"")
x