Seperate Auto Numbering Based on Area Column

I have an auto number column which I know goes from 1-100 etc. I have projects in Locations North, South, East and West. Is there a way I can auto number based on each location so East is sequential, North is sequential, etc. By using the below formula it works fine but I end up with North 15 when it might be the 15th row entry but only the 2nd project in the North.

Hope that makes sense!

="ME_" + REGION@row + "_ALL_24_" + [AUTO NUMBER]

ME_NORTH_ALL_24_01

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    Try something like this instead:

    ="ME_" + REGION@row + "_ALL_24_" + RIGHT("00" + COUNTIFS(Region:Region, @cell = Region@row, [Auto Number]:[Auto Number], @cell<= [Auto Number]@row), 3)

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!