{"id":3999,"date":"2019-01-21T14:27:10","date_gmt":"2019-01-21T09:27:10","guid":{"rendered":"https:\/\/aasims.wordpress.com\/?p=3999"},"modified":"2025-04-09T10:22:16","modified_gmt":"2025-04-09T10:22:16","slug":"sharepoint-remove-commas-from-number-fields","status":"publish","type":"post","link":"https:\/\/aasimnaseem.com\/blog\/sharepoint-remove-commas-from-number-fields\/","title":{"rendered":"SharePoint remove commas from number fields"},"content":{"rendered":"<p>In some instances you don\u2019t want number fields to display with comma\u2019s in SharePoint views. Unfortunately, there is no setting to not display commas on number fields.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-3189\" src=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-1.jpg?w=620\" alt=\"SharePoint-remove-commas-16-1\" data-attachment-id=\"3189\" data-permalink=\"https:\/\/ootbtutorials.com\/2016\/05\/01\/sharepoint-remove-commas-from-number-fields\/sharepoint-remove-commas-16-1\/\" data-orig-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-1.jpg?w=620\" data-orig-size=\"332,210\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SharePoint-remove-commas-16-1\" data-image-description=\"\" data-medium-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-1.jpg?w=620?w=300\" data-large-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-1.jpg?w=620?w=332\" \/><\/p>\n<h3>Use Calculated field to remove comma\u2019s from number field<\/h3>\n<p>For this example, I\u2019m going to display a number column (Alias) in a calculated field (Alias Calculated).<br \/>\nCreate a calculated field, and for the<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3190\" src=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-2.jpg?w=620\" alt=\"SharePoint-remove-commas-16-2\" data-attachment-id=\"3190\" data-permalink=\"https:\/\/ootbtutorials.com\/2016\/05\/01\/sharepoint-remove-commas-from-number-fields\/sharepoint-remove-commas-16-2\/\" data-orig-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-2.jpg?w=620\" data-orig-size=\"540,229\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SharePoint-remove-commas-16-2\" data-image-description=\"\" data-medium-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-2.jpg?w=620?w=300\" data-large-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-2.jpg?w=620?w=540\" \/><\/p>\n<p>**Do not copy and try to paste this formula, type it in your calculated field and make sure to use the Insert Column option.<\/p>\n<p>2. Type in the following formula:<br \/>\n<strong>=text(<\/strong><\/p>\n<p><strong> Then double click on your number field in the Insert Column box<\/strong><\/p>\n<p>then type: <strong>,\u201d0\u2033)<\/strong><\/p>\n<p>Your formula should display something like this: =text([Alias],\u201d0\u2033)<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-3192\" src=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-3.jpg?w=620\" alt=\"SharePoint-remove-commas-16-3\" data-attachment-id=\"3192\" data-permalink=\"https:\/\/ootbtutorials.com\/2016\/05\/01\/sharepoint-remove-commas-from-number-fields\/sharepoint-remove-commas-16-3\/\" data-orig-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-3.jpg?w=620\" data-orig-size=\"326,221\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SharePoint-remove-commas-16-3\" data-image-description=\"\" data-medium-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-3.jpg?w=620?w=300\" data-large-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-3.jpg?w=620?w=326\" \/><\/p>\n<p>Choose a <strong>number field<\/strong>, with <strong>0<\/strong> decimal places and click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3196\" src=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-4.jpg?w=620\" alt=\"SharePoint-remove-commas-16-4\" data-attachment-id=\"3196\" data-permalink=\"https:\/\/ootbtutorials.com\/2016\/05\/01\/sharepoint-remove-commas-from-number-fields\/sharepoint-remove-commas-16-4\/\" data-orig-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-4.jpg?w=620\" data-orig-size=\"516,334\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SharePoint-remove-commas-16-4\" data-image-description=\"\" data-medium-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-4.jpg?w=620?w=300\" data-large-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-4.jpg?w=620?w=516\" \/><\/p>\n<p>This should display your number column without the commas while retaining the benefits of using a number field (field validation &amp; sorting):<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-3195\" src=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-5.jpg?w=620\" alt=\"SharePoint-remove-commas-16-5\" data-attachment-id=\"3195\" data-permalink=\"https:\/\/ootbtutorials.com\/2016\/05\/01\/sharepoint-remove-commas-from-number-fields\/sharepoint-remove-commas-16-5\/\" data-orig-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-5.jpg?w=620\" data-orig-size=\"347,268\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SharePoint-remove-commas-16-5\" data-image-description=\"\" data-medium-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-5.jpg?w=620?w=300\" data-large-file=\"https:\/\/ootbtutorialsdotcom.files.wordpress.com\/2016\/05\/sharepoint-remove-commas-16-5.jpg?w=620?w=347\" \/><\/p>\n<p>*If you save the number as in the Text format type, sorting will not work correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In some instances you don\u2019t want number fields to display with comma\u2019s in SharePoint views. Unfortunately, there is no setting to not display commas on number fields. Use Calculated field to remove comma\u2019s from number field For this example, I\u2019m going to display a number column (Alias) in a calculated&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4532,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"quote","meta":{"footnotes":""},"categories":[12],"tags":[805,1155,926],"class_list":["post-3999","post","type-post","status-publish","format-quote","has-post-thumbnail","hentry","category-random","tag-nintex","tag-programming","tag-sharepoint","post_format-post-format-quote"],"_links":{"self":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/3999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/comments?post=3999"}],"version-history":[{"count":3,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/3999\/revisions"}],"predecessor-version":[{"id":4533,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/3999\/revisions\/4533"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/media\/4532"}],"wp:attachment":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/media?parent=3999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/categories?post=3999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/tags?post=3999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}