0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Salesforceでは項目により項目型というものがあります

今回はName項目のようなテキスト型項目を通貨型に変更する数式項目を作成します

基本数式

基本的な数式は以下となります

VALUE(Name)

数式01.png

これにより「30000」などのテキスト項目値を通貨「JPY3000」に変更することが可能です
成功0.png

しかしこの数式では「30,000」など「,」がある場合通貨項目は表示されません
表示されない.png

応用数式

もしも「30,000」など「,」がある場合通貨項目を作成したい場合、数式は以下となります
VALUE(SUBSTITUTE(Name,",",""))

このような数式を作成すれば「30,000」など「,」がある場合通貨項目「JPY3000」に変更することが可能です
成功01.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?