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 个不同单元格的方法。我将如何制作公式。我试过以下
=G&ROW()-B&ROW()
您可以使用
=G1-B1
在第 1 行中,当您拖动它时,Excel 会自动为您调整它。
如果您不希望 Excel 在调整时更改范围,则应使用 $
=$G$1-$B$1
如果您只想调整行但保持列静态,您可以使用
=$G1-$B1
等等
如果单击所选单元格右下角的黑色小方块并将公式向下拖动,它将自动复制它并增加行号。