Sequencial numbering based on Criteria

KempenUSA
KempenUSA ✭✭✭✭

Can you please help with the following formula to work in Smartsheet:

=TEXT(VLOOKUP(C3,LIST!$A$2:$B$12,2,0),VLOOKUP(C3,LIST!$A$2:$B$12,2,0)&"0")&TEXT(VLOOKUP(D3,LIST!$D$2:$E$17,2,0),"00-")&TEXT(COUNTIF($C$1:C2,C3)+1,"000")

I am creating a numbering system that are criteria based but then want them to be sequential based on the selected criteria:

See Attached.


Picture1.png

The last 3 digit should be sequential based on the initial 3 digits which are criteria based (Department & Type). I am able to establish the first part, but are having difficulty getting the sheet to generate the -000 part.

The formula above works great in excel, not to get this to work in smartsheet is the problem.

image.png


Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!