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.
目前正在制作投资组合跟踪器。
如果另一列被标记为“卖出”,我可能正在寻找一个 if 语句,它将我持有的股票数量变为负数。您可以从提供的图像中看到,右栏是我正在寻找的内容。
简单的IF开关:
IF
=IF(B2="sell"; GOOGLEFINANCE()*-1; GOOGLEFINANCE())