sequence unique id

Hello,
I have column [Store Number] which include unique id Start with (BM) and sequence number

Ex : BM307 , BM308 , BM 309 .

what the formula can use it to make it automatically and show it for user when start add new item? 

 

Solved Solved
0 5 159
1 ACCEPTED SOLUTION

The initial value will be:
"BM" & (COUNT(UNIQUE(Table Name[Store Number])) + 1)

 

Make sure to have [Store Number] allow no edits in the form view.

Also please read below.

Screenshot 2025-01-13 115239.png

 

View solution in original post

5 REPLIES 5

The initial value will be:
"BM" & (COUNT(UNIQUE(Table Name[Store Number])) + 1)

 

Make sure to have [Store Number] allow no edits in the form view.

Also please read below.

Screenshot 2025-01-13 115239.png

 

thank you it is working but i just have issue,

i have question if i deleted row from google sheet he doesn't see last row he just count rows For more clarification
the last row It contains 

MohamedSalem999_0-1736852703699.png

and the total items is 

MohamedSalem999_1-1736852766636.png

and this from app:

MohamedSalem999_2-1736852847763.png

so how can i solve this ?

 

 

This is exactly what is mentionned in the post about serial numbering 🙂

You may want to use this instead:

"BM" & (MAX(Table Name[Store Number]) + 1)

 

@Aurelien okay i understand thank you

Aurelien
Google Developer Expert
Google Developer Expert
Top Labels in this Space