Forumula help to extra characters from a cell

Morning

I am hoping someone has an idea how I can achieve the following

I have a barcode which is formatted like this when scanned into Smartsheet

(01)00843997014755(11)240401(21)700040293

What I need for example is when the barcode is scanned into lets say cell A, then automatically cell B,C and D will extra data from this cell

Cell B = Everything between (01) and (11)

Cell C = Everything between (11) and (21 )

Cell D = Everything after (21)

Attachment shows the idea final result which I am looking for, I am hoping there will be a formula I can put in each cell to grab this info as I am scanning it

Thanks every for all your help, great community which I have learnt alot from

Tags:

Best Answer

  • kowal
    kowal Overachievers Alumni
    Answer ✓

    hey,

    so if you have any no digits in the string like () you need to remove the value formula and use only

    =MID(EANTESTING@row, 14, 7)

    if your result from previous formula is (01)00843997 and you always have the same amount of digits you can use on it =right(new@row, 10) so it will give you: 00843997

    Tomasz Kowalski

    The Real Smartsheet Enthusiast

    Is there anything else we can help you with? - book your time!

    MASA Consult - Your Aligned Smartsheet Partner

    Find us on LinkedIn!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!