将两列乘以一个标量

发布于 2024-12-04 23:25:04 字数 316 浏览 5 评论 0原文

我想将给定单元格的值乘以标量并将结果输出到相邻单元格。例如,如果我有:

     B    C
1    25   ?
2    20   ?
3    21   ?
4    23   ?

我希望每个 C 列中的 ? 值为 20 *(B 在同一行)。即(C1 = B1*20,C2=B2*20,C3=B3*20,...)。我知道我可以对每一行单独执行此操作,但我希望立即对整列执行此操作。

如果相关的话,我正在使用 Excel 2008 for Mac。

I'd like to multiply the value of a given cell by a scalar and output the result to an adjacent cell. For example, if I had:

     B    C
1    25   ?
2    20   ?
3    21   ?
4    23   ?

I want the ? values in each C column to be 20 * (B in same row). i.e. (C1 = B1*20, C2=B2*20, C3=B3*20, ...). I know I could do this individually for each row, but I'm hoping to do it for the entire column at once.

I'm using Excel 2008 for Mac if that is relevant.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

归属感 2024-12-11 23:25:04

某处应该有一个“Fill Down”菜单项;否则,您可以复制C1,突出显示C中的相应单元格并粘贴。 Excel 会为您处理行号的更改。

There should be a "Fill Down" menu item somewhere; otherwise you can copy C1, highlight the appropriate cells in C and paste. Excel handles changing the row numbers for you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文