Forum Discussion

codingpebble's avatar
codingpebble
Copper Contributor
Dec 22, 2023

Unique Integer Colum in Sharepoint List

Hello,

how can I get a column in a sharepoint List which is basically an editable ID.

 

I tried using the number type and set the decimal to 0 and made it unique.

That works if users only enter whole numbers.

 

However if someone decides to enter for instance 1.1 and another item with 1 already exists then it creates a new item showing 2 items with the value 1 in that field which should be unique.

 

Any ideas?

 

Best regards

  • I solved this using validation:
    =IF([Number Column] = ROUND([Number Column], 0), true, false)

Resources