在Excel中获取单元格的格式化值 [英] Get Formatted Value of Cell in Excel
本文介绍了在Excel中获取单元格的格式化值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用 = CONCATENATE(E1,-",D1)
时如何获取单元格的格式化值?
How do you get the formatted value of a cell when using =CONCATENATE(E1, " - " , D1)
?
E1 = 2014年8月21日,美国东部标准时间(格式化值= 08/21)
D1 =任务项目1
想要的输出:= 08/21-任务项1
推荐答案
使用 TEXT()
函数: TEXT(值,格式文本)
因此,如果值是23.5,并且您传递 = TEXT(A1,"$ 0.00")
,它将返回 $ 23.50
来源: http://office.microsoft.com/en-us/excel-help/text-function-HP010062580.aspx
Use the TEXT()
function:
TEXT(value, format_text)
So if the value is 23.5 and you pass =TEXT(A1, "$0.00")
it will return $23.50
Source: http://office.microsoft.com/en-us/excel-help/text-function-HP010062580.aspx
这篇关于在Excel中获取单元格的格式化值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文