Click here to Skip to main content
12,820,521 members (28,684 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 14 Nov 2012

SharePoint Number Column Without Commas

, 14 Nov 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
Avoiding thousand separator(comma) in SharePoint Number field


SharePoint number fields have thousand separators(comma) which we may not need every time. But there is no possibility of avoiding the thousands separator(comma) in the number fields. 

Using the Code

To avoid this comma, we can do a small working as given below.  

Suppose our Number field is named as "Student No."  Create another Calculated column and name it as "Student Number".  Then you have to type the formula according to the following format:

= TEXT( Number_Column_Name, "0")   

And click Save.

In our scenario, it will show as:

=TEXT([Student No],"0") 

Note: If the Student No field will be empty, the value will be shown as "0".... Or if you want to keep it blank, you have to adjust the formula as: 

=IF( [Student No] <>"",TEXT( [Student No] ,"0"),"")

Points of Interest

Here is a small working, but no one really notices it. Hope this will help all of you who are looking for something like this. [I have published the original article in my blog before (Link)] 


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Eranda Ketawalage
Systems Engineer
Sri Lanka Sri Lanka
No Biography provided

You may also be interested in...


Comments and Discussions

QuestionWhat about the Edit form? Pin
Ahmed F. El Sawaf14-Jan-15 6:25
memberAhmed F. El Sawaf14-Jan-15 6:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170308.1 | Last Updated 14 Nov 2012
Article Copyright 2012 by Eranda Ketawalage
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid