excel中如何将阿拉伯数字自动转换成英文大写(数字变成英文大写)

2023-03-13 11:30:41 密语知识 思思

具体公式如下:

B1公式下拉:

=SUBSTITUTE(SUBSTITUTE(IF(-RMB(A1,2),TEXT(A1,";负")TEXT(INT(ABS(A1)+0.5%),"[dbnum2]G/通用格式圆;;")TEXT(RIGHT(RMB(A1,2),2),"[dbnum2]0角0分;;整"),),"零角",IF(A1^21,,"零")),"零分","整")

数字翻译成英文大写?

数字翻译成英文大写:

NUMBER

number

英 [ˈnʌmbə(r)] 美 [ˈnʌmbər]

n. 数字;电话号码;编号,序数;总量,数量;数量众多的人(或物);(杂志的)一期;一群人;(演出中的)一首歌,一段舞蹈;非正式吸引人的人(或事物);数,单复数;收视率,收听率;(运动员等的)历史数据;钱数;具有……特征的人;常说的事;数字彩票;算术

v. 给……编号;总计;包括,列入(某类);计算,数;使为数有限

如何在excel中设置公式将数字转换为英文大写金额

使用数字转英文货币大写“自定义函数”,具体使用方法如下:

所需材料:Excel、数字转英文货币大写自定义函数(可通过网络复制粘贴)。

一、首先打开Excel表格文件,按Alt+F11打开VBA窗口,插入一个“模块”。

二、右键模块1,菜单内点击“导入文件”。

三、找到数字转大写英文货币的BAS格式文件,点击“打开”。

四、这时就可以把该函数导入VBA模块,另外如果是通过网格上粘贴的数字转英文大写金额函数,则真可以在下图白色区域内Ctrl+V粘贴进来即可,导入函数后,关闭VBA窗口。

五、这时在数字单元格右边单元格内输入=SpellNumber(A1),按回车键即可得出大写英文金额,其它单元格下拉填充即可。

英文数字大写(Ⅰ、Ⅱ、Ⅲ……)谁知道12以后这样写?

12为:Ⅻ。12之后如下所示:

罗马数字1~20分别为:Ⅰ、Ⅱ、Ⅲ、Ⅳ、Ⅴ、Ⅵ、Ⅶ、Ⅷ、Ⅸ、Ⅹ、Ⅺ、Ⅻ、XIII、XIV、XV、XVI、XVII、XVIII、XIX、XX。

罗马数字是欧洲在阿拉伯数字(实际上是印度数字)传入之前使用的一种数码,现在应用较少。它的产生晚于中国甲骨文中的数码,更晚于埃及人的十进制数字。但是,它的产生标志着一种古代文明的进步。

扩展资料:

历史起源

罗马数字比阿拉伯数字早 2000 多年,起源于古罗马。

古罗马人最常用的表示 4 的方法是 IIII,所以一直以来,IV 的设计风格经常遭到“正统论者”的强烈抗议。

乔治敦大学古典文献学教授兼教务长詹姆斯·奥东奈尔说,尽管古罗马人有时为了节省空间会把 4 写作 IV,但这种简写直到中世纪才流行起来,事实上这种写法并不正规。

有些钟表专家还提出一种理论:古罗马人用 IV 作为众神之王朱庇特名字的缩写(在古典拉丁文中,J 和 I 同为 I,U 和 V 同为 V,因此 IV 即 JU,朱庇特 Jupiter 的简写),因此,他们不希望神的名字看上去像个数字,也就是“避讳”。

在EXCEL中,怎样把一串数值转化为英文大写金额,要按照以下格式

必须用VBA才能实现。

请补充:

(1)有美分时,百位和十位之间无AND,对吧?

(2)1234567.56的格式是什么?即,百万和十万之间是否用AND。

根据的规则,修改了微软提供的VBA代码。

按Alt+F11,打开VBA窗口,点击插入、模块,将下列代码复制过去,然后可以在工作表中用=SpellNumber(A1)或=SpellNumber(234.56)的形式进行转换。代码:

Option Explicit

'Main Function

Function SpellNumber(ByVal MyNumber)

Dim Dollars, Cents, Temp

Dim DecimalPlace, Count

ReDim Place(9) As String

Place(2) = " Thousand "

Place(3) = " Million "

Place(4) = " Billion "

Place(5) = " Trillion "

' String representation of amount.

MyNumber = Trim(Str(MyNumber))

' Position of decimal place 0 if none.

DecimalPlace = InStr(MyNumber, ".")

' Convert cents and set MyNumber to dollar amount.

If DecimalPlace  0 Then

Cents = Right(MyNumber * 100, 2) * 1

'GetTens(Left(Mid(MyNumber, DecimalPlace + 1)  _

"00", 2))

MyNumber = Trim(Left(MyNumber, DecimalPlace - 1))

End If

Count = 1

Do While MyNumber  ""

Temp = GetHundreds(Right(MyNumber, 3))

If Temp  "" Then Dollars = Temp  Place(Count)  Dollars

If Len(MyNumber)  3 Then

MyNumber = Left(MyNumber, Len(MyNumber) - 3)

Else

MyNumber = ""

End If

Count = Count + 1

Loop

Select Case Dollars

Case ""

Dollars = "No Dollars"

Case "One"

Dollars = "One Dollar"

Case Else

Dollars = Dollars  " Dollars"

End Select

Select Case Cents

Case ""

Cents = " Only"

Case Else

Cents = " and "  Cents  "/100"  " Only"

End Select

SpellNumber = "SAY U. S. DOLLARS "  Dollars  Cents

End Function

' Converts a number from 100-999 into text

Function GetHundreds(ByVal MyNumber)

Dim Result As String

If Val(MyNumber) = 0 Then Exit Function

MyNumber = Right("000"  MyNumber, 3)

' Convert the hundreds place.

If Mid(MyNumber, 1, 1)  "0" Then

Result = GetDigit(Mid(MyNumber, 1, 1))  " Hundred "

End If

' Convert the tens and ones place.

If Mid(MyNumber, 2, 1)  "0" Then

Result = Result  GetTens(Mid(MyNumber, 2))

Else

Result = Result  GetDigit(Mid(MyNumber, 3))

End If

GetHundreds = Result

End Function

' Converts a number from 10 to 99 into text.

Function GetTens(TensText)

Dim Result As String

Result = ""           ' Null out the temporary function value.

If Val(Left(TensText, 1)) = 1 Then   ' If value between 10-19...

Select Case Val(TensText)

Case 10: Result = "Ten"

Case 11: Result = "Eleven"

Case 12: Result = "Twelve"

Case 13: Result = "Thirteen"

Case 14: Result = "Fourteen"

Case 15: Result = "Fifteen"

Case 16: Result = "Sixteen"

Case 17: Result = "Seventeen"

Case 18: Result = "Eighteen"

Case 19: Result = "Nineteen"

Case Else

End Select

Else                                 ' If value between 20-99...

Select Case Val(Left(TensText, 1))

Case 2: Result = "Twenty "

Case 3: Result = "Thirty "

Case 4: Result = "Forty "

Case 5: Result = "Fifty "

Case 6: Result = "Sixty "

Case 7: Result = "Seventy "

Case 8: Result = "Eighty "

Case 9: Result = "Ninety "

Case Else

End Select

Result = Result  GetDigit _

(Right(TensText, 1))  ' Retrieve ones place.

End If

GetTens = Result

End Function

' Converts a number from 1 to 9 into text.

Function GetDigit(Digit)

Select Case Val(Digit)

Case 1: GetDigit = "One"

Case 2: GetDigit = "Two"

Case 3: GetDigit = "Three"

Case 4: GetDigit = "Four"

Case 5: GetDigit = "Five"

Case 6: GetDigit = "Six"

Case 7: GetDigit = "Seven"

Case 8: GetDigit = "Eight"

Case 9: GetDigit = "Nine"

Case Else: GetDigit = ""

End Select

End Function

1到100各数字的英文大写

基数词:1-31

1 one

2 two

3 three

4 four

5 five

6 six

7 seven

8 eight

9 nine

10 ten

11 eleven

12 twelve

13 thirteen

14 fourteen

15 fifteen

16 sixteen

17 seventeen

18 eighteen

19 nineteen

20 twenty

21 twenty-one

22 twenty-two

23 twenty-three

24 twenty-four

25 twenty-five

26 twenty-six

27 twenty-seven

28 twenty—eight

29 twenty- nine

30 thirty

序数词

(the)first第一

(the)second第二

(the)third第三

(the)fourth第四

(the)fifth第五

(the)sixth第六

(the)seventh第七

(the)eighth第八

(the)ninth第九

(the)tenth第十

(the)eleventh第十一

(the)twelfth第十二

(the)thirteenth第十三

(the)fourteenth第十四

(the)fifteenth第十五

(the)sixteenth第十六

(the)seventeenth第十七

(the)eighteenth第十八

(the)nineteenth第十九

(the)twentieth第二十

(the)twenty-first第二十一

(the)twenty-second第二十二

(the)twenty-third第二十三

(the)twenty-fourth 第二十四

(the)twenty-fifth 第二十五

(the)twenty- sixth 第二十六

(the)twenty- seventh 第二十七

(the)twenty- eighth 第二十八

(the)twenty- ninth 第二十九

(the)thirtieth第三十

(the)thirty-first第三