Skip to main content
Solved

Restart sequence from autonumber based on another field

  • November 20, 2020
  • 1 reply
  • 1 view

Forum|alt.badge.img+6
  • Participating Frequently
  • 9 replies

I’m trying to automatically name experiments based on the user that performs them. The numbering is sequential. However, I want the numbering to relative to the user.

Here is the formula I’m currently using:

{Initials (from Owner)}&"_"&"EXP"&REPT(
    '0',
    4-LEN(
        {Autonumber}&''
        )
    )&
{Autonumber}

The issue is, I want that next experiment (MP_EXP0005) to start at MP_EXP0001, rather than 5. Is there a way to do that with a formula?

Best answer by ScottWorld

That’s a little tricky.

You’d probably want to create an automation that automatically triggers a custom JavaScript script, or you could use Integromat for a no-code way of handling that.

However, there is also a workaround that @Justin_Barrett created — it has a few limitations due to Airtable’s built-in limitations, but it should work, too.

All of these options are discussed in this thread:

View original
Did this topic help you find an answer to your question?

1 reply

ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8792 replies
  • Answer
  • November 20, 2020

That’s a little tricky.

You’d probably want to create an automation that automatically triggers a custom JavaScript script, or you could use Integromat for a no-code way of handling that.

However, there is also a workaround that @Justin_Barrett created — it has a few limitations due to Airtable’s built-in limitations, but it should work, too.

All of these options are discussed in this thread:


Reply