Ubah teks menjadi angka dengan pemisah khusus
=NUMBERVALUE(text, [decimal_separator], [group_separator])
| Parameter | Deskripsi |
|---|---|
text |
The text to convert to a number. |
decimal_separator |
[optional] The character for decimal values. |
group_separator |
[optional] The character for grouping by thousands. |
To convert the text string "10,15" to the number 10.15:
=NUMBERVALUE("10,15",",") // returns 10.15
To convert the text value "5%" to a number with no grouping or decimal separator:
=NUMBERVALUE("5%") // returns 0.05
To convert the string "6.000" to the number 6000, where the grouping separator in the source text is a period (.) use:
=NUMBERVALUE("6.000",",",".") // returns 6000
In the example shown, input text is in column B and function output is in column E. Columns C and D are the decimal and group separators used in each
=NUMBERVALUE(B6,C6,D6)