Unique ID
Answers
-
Hi @Paul Newcome,
Thanks for sharing. I'm a newbie in the Smartsheet world and I've loved all the automations that we can create out of it. So, I've been trying to apply the formula below for pulling in serial numbers on the Document ID column, without luck yet😅. Would you be able to guide me how to do it whit the set of colums in the image attached?
=LEFT(Type@row) + "-" + IF(COUNTIFS(Type:Type, @cell = Type@row, Auto:Auto, @cell<= Auto@row)< 10, "00", IF(COUNTIFS(Type:Type, @cell = Type@row, Auto:Auto, @cell<= Auto@row)< 100, "0")) + "" + COUNTIFS(Type:Type, @cell = Type@row, Auto:Auto, @cell<= Auto@row)
Many thanks,
Diana
-
I’m not exactly sure what your trying to do, but one show stopper is the LEFT and RIGHT functions need to indicate the number of characters to collect. I’ve assumed you want to collect two characters below. (If “Type@row” was the word “able”, “LEFT(Type@row, 2)” would be “ab”, the first two letters). You don’t need the @cell references, they’re assumed for these functions. After the second portion of the ID, you have:
+””+
which literally adds nothing. did you intend that? I put a hyphen in the parenthesis because that seemed logical.
=LEFT(Type@row, 2) + "-" + IF(COUNTIFS(Type:Type, Type@row, Auto:Auto, <= Auto@row)< 10, "00", IF(COUNTIFS(Type:Type, Type@row, Auto:Auto, <= Auto@row)< 100, "0")) + "-" + COUNTIFS(Type:Type, Type@row, Auto:Auto, <= Auto@row)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!