excel如何在同一单元格中同时显示文本和数值
时间:2022-10-20 09:04:44
有时我们需要在单元格中同时显示文本和数值,例如D15单元格中包含一个合计数值:3465,可以在另外一个单元格中输入公式:
="总计:"&D15
公式中用了“&”连接符,显示结果为“总计:3465”。如果要将其中的数值用指定的格式来显示,如“总计:3,465.00元”,可以用下面的公式:
="总计:"&TEXT(D15,"#,##0.00")&"元"
因为单元格中同时包含文本和数值,用设置单元格格式的方法无效。这里用TEXT函数的第二个参数来指定数字的格式。
标签:公式,单元格,总计,数值,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win10cmd获取管理员权限命令图文教程
2022-06-01 15:46:12
![](https://img.aspxhome.com/file/2023/2/a284913_0s.png)
如何实现 word 文字的双行合一排版
2022-05-21 04:32:08
![](https://img.aspxhome.com/file/2023/3/33403_0s.gif)
Win10小娜无法使用怎么办?Win10小娜使用一次后就无法使用了的故障原因及解决方法
2022-06-02 05:11:28
![](https://img.aspxhome.com/file/2023/28/a244513_0s.jpg)
win10系统怎么设置连接手机热点?
2022-12-16 14:01:34
![](https://img.aspxhome.com/file/2023/1/a276295_0s.png)
ghost备份系统详解!
2022-08-07 02:48:48
![](https://img.aspxhome.com/file/2023/4/a303431_0s.png)
audacity怎么合并音乐?audacity怎么把两个音频接一起教程
2023-09-25 20:58:44
![](https://img.aspxhome.com/file/2023/30/a267318_0s.jpg)
iOS 13.4 最实用功能:创建在线文件共享网盘
2023-10-11 13:58:52
![](https://img.aspxhome.com/file/2023/8/a195878_0s.jpg)
excel表格ab列不见了怎么办
2022-11-07 20:04:54
QQ五笔输入法2.0靓丽新体验
2022-04-28 08:49:08
![](https://img.aspxhome.com/file/2023/5/a318508_0s.jpg)
wps里如何显示像Word中一样的回车箭头符号
2023-11-30 20:41:24
![](https://img.aspxhome.com/file/2023/4/18974_0s.png)
[MAC / WIN]Acrobat Reader小技巧:简单设置,让你的眼睛在阅读PDF 文件时更舒适
2022-05-17 05:29:10
![](https://img.aspxhome.com/file/2023/2/a207792_0s.jpeg)
Win7怎么获得文件夹绝对路径 Win7查询文件夹绝对路径图文教程
2023-07-07 02:38:21
![](https://img.aspxhome.com/file/2023/28/a247447_0s.jpg)
win10任务栏时间显示秒怎么设置_win10任务栏时间显示精确到秒教程
2023-02-18 11:56:02
![](https://img.aspxhome.com/file/2023/4/a303049_0s.jpg)
excel vba获取工作表名称的两种方法
2023-11-20 08:27:55
![](https://img.aspxhome.com/file/2023/7/a162567_0s.gif)
WPS文字表格中怎么使用数据求和
2022-12-30 21:06:06
如何在Win10系统标题栏上显示文件完整路径?
2022-06-07 00:29:17
![](https://img.aspxhome.com/file/2023/4/a306918_0s.png)
Win10为什么红警2玩玩就死机 Win10运行红警2过一会就会死机修复方法
2022-11-18 00:32:24
![](https://img.aspxhome.com/file/2023/25/a218307_0s.gif)
word怎么按首字母排序
2023-12-11 06:40:33
![](https://img.aspxhome.com/file/2023/6/35936_0s.png)
Win7管理打不开怎么解决?解决计算机右键管理打不开的方法
2023-03-19 14:32:23
![](https://img.aspxhome.com/file/2023/27/a229954_0s.jpg)
excel到期日计算,EDATE甩DATE函数两条街
2022-08-06 13:18:14
![](https://img.aspxhome.com/file/2023/7/a162157_0s.jpg)