Excel对相邻单元格的文本值求和

编程入门 行业动态 更新时间:2024-10-28 11:31:23
本文介绍了Excel对相邻单元格的文本值求和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

这是数据和期望的结果:

A1有字符串 204 + 204 + 204 + 204 + 204 + 204 + 59

我需要B1显示A1的 SUM

通过将文本复制并粘贴到B1中,我已经管理到目前为止,前面的 = ie( = 204 + 204 + ... 等)但是我知道有成为一个更简单的方法。

解决方案

这是如何做到的。

1

打开名称管理器。 Control-F3,然后点击新建按钮。

2

对话框,输入 EVALA 。我刚刚选了这个名字它代表评估A。但是你可以选择你喜欢的任何名字。

3

对于 字段,输入

=评估($ A1)

4

单击确定,然后单击关闭。

5

在B1中输入以下公式:

= EVALA

就是这样。

您现在可以在工作表中的任何行上使用此公式,它将评估您输入公式的行中的单元格中的任何值。

Been bashing my head over this for hours.

Here is the data and desired result:

A1 has the string 204+204+204+204+204+204+59

I need B1 to show the SUM of A1

I've managed thus far by just copying and pasting the text into B1 and placing a = in front of it i.e. (=204+204+... etc.) But I know there has got to be an easier way.

解决方案

Here is how to do it.

1

Open the Name Manager. Control-F3 from the worksheet, and then click the New button.

2

For the Name field in the dialog, enter EVALA. I just picked this name; it stands for "Evaluate A". But you can pick whatever name you like.

3

For the Refers to field, enter this

=EVALUATE($A1)

4

Click OK and then Close.

5

In B1 enter this formula:

=EVALA

That's it.

You can now use this formula on any row in the worksheet and it will evaluate whatever is in the column A cell of the row where you enter the formula.

更多推荐

Excel对相邻单元格的文本值求和

本文发布于:2023-11-29 22:17:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647791.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单元格   文本   Excel

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!