How to Extract Text with an Airtable Formula

Тәжірибелік нұсқаулар және стиль

Take our free Airtable Crash Course!
garethpronovost.com/airtable-...
Getting Stuck? See how we can help!
garethpronovost.com
Get our Airtable Field Type download!
www.gapconsulting.io/airtable...
_________________________________________
Table of Contents:
00:00 - Intro
01:05 - Outline the Problem
01:46 - How to find the Image URL
03:22 - Setting up the MID Formula
05:45 - Solving for the Starting Point
08:37 - Solving for the Length
_________________________________________
Software Resources (may contain affiliate links):
Airtable - airtable.com/invite/r/v0eI3ASY
_________________________________________
Within an Airtable database, it's common to need to extract or "pull" text from a long string. There are many reasons you may want this, ranging from social media posts to contract creation. Luckily, the methodology for extracting the desired text is always the same: reference the string, find out where to start, and find a length of characters to extract.
Now sometimes, your starting position and length will be constant. If so, then this is a much easier formula to write! But, in the majority of cases, you'll want a dynamic variable for your starting position and length. In these cases, a more robust formula is required.
In this video, I walk through the two formulas that we will need to use in tandem to produce a dynamic output. Check it out and follow along in your own database to perfect your formula skills!
_________________________________________
Learn more at these links: 🔗 👇
Join us for our next live training!
www.garethpronovost.com/webin...
Take our free Airtable Crash Course!
garethpronovost.com/airtable-...
Getting Stuck? See how we can help!
garethpronovost.com
Get our Airtable Field Type download!
www.gapconsulting.io/airtable...
#AutomateYourLife #GarethPronovost #Airtable

Пікірлер: 24

  • @nicoyou11
    @nicoyou113 жыл бұрын

    You are an excellent teacher, thank you for sharing this video!

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    So glad it helped!

  • @vladislavv4977
    @vladislavv49773 жыл бұрын

    Beautiful! 🔥🔥🔥

  • @bloodjet
    @bloodjet2 жыл бұрын

    Thank you! This video helped me to complete my task

  • @GarethPronovost

    @GarethPronovost

    2 жыл бұрын

    Glad to hear it! 🙌

  • @juliolattaro
    @juliolattaro3 жыл бұрын

    Muito Obrigado! Me ajudou dmais! muito bom! (Thanks!Helped me a lot! very good!) (Brasil)

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Thanks for watching!

  • @Maria-dn9fs
    @Maria-dn9fs3 жыл бұрын

    Hi Gareth Thanks for video will keep as reference for when I need it. What I need right now is to extract the amount and the frequency (Month/Week) from this field '£950.00 per Cal Month' into 2 different fields. Do you have any video which could help please?

  • @maryusen4293
    @maryusen4293 Жыл бұрын

    is there a way to identify a hard return in a long string of text in airtable? (We sync with jira and put all our details in a field in jira but then need to pull out pieces and parts when that field once synced in airtable). I want to find the copy that comes after a particular string. Like: Month: January. (find "Month: " and return the copy after it stopping at a hard return. Your videos are awesome. I'm gonna play with the strategy you provided in this video to see if i can get it.. Thanks!!

  • @FXReel
    @FXReel Жыл бұрын

    Great video thank you! My search string is "OrderID: #" followed by a 12 digit number. How can I omit the search string and just keep the 12 digit number from the result in the formula?

  • @TheNate
    @TheNate Жыл бұрын

    Awesome video - thanks. Now I have a curveball for you - what happens if the string appears more than once? For instance, let's say I have @XYZ and @ABC in a string. I can now find and pull the first one but what about the second one? 🙂

  • @GarethPronovost

    @GarethPronovost

    Жыл бұрын

    If you're looking for two specific strings within a longer string, can you write two formulas? One for each string?

  • @juanantonioscott
    @juanantonioscott3 жыл бұрын

    Thanks Gareth ! This is really useful ! Exactly what I was looking for, however, I found a problem with my table... What happens if there are multiple photos attached, and I only want the first image URL and ignore the rest?

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    This definitely throws a monkey wrench in the formula! In this case, you might create another table specifically for attachments and link that table to your first table. This way, each record in your Attachments table only holds one attachment and the formula still works, but you can link multiple attachments to each record on your first table.

  • @juanantonioscott

    @juanantonioscott

    3 жыл бұрын

    @@GarethPronovost Thank you !

  • @sci2kfr612
    @sci2kfr6122 жыл бұрын

    Thank you, great vidéo as usual!!! I need to find an end number to extract a texte with different between two "/". Is it possible?. Thanks

  • @GarethPronovost

    @GarethPronovost

    2 жыл бұрын

    Yes, that sounds feasible. You might just try the VALUE() function if this is the only number in the string. If not, you can build a more complicated formula using the tips I outlined in this video! 💪

  • @MartynWhite
    @MartynWhite3 жыл бұрын

    Hi Gareth, I’m finding your videos of great use as an new Airtable user. Can you tell me how, in this video, the last fields’ formula removes the unwanted final parentheses. You say the ‘Len’ formula gets the length of the string. Does this mean it finds the URL, exclusive of extra parentheses, or all of the characters in the ‘Image URL’ field? I’m a little confused. Thank you.

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Hi Martyn! LEN calculates the number of characters in the string (outputs a number) including the parenthesis!

  • @MartynWhite

    @MartynWhite

    3 жыл бұрын

    @@GarethPronovost So, to be clear, Airtable ignores the last parenthesis It’s so fussy with syntax I’m surprised.

  • @pierre-louismoutton-perrot3161
    @pierre-louismoutton-perrot31617 ай бұрын

    Hello there, thank you for your video. I have a problem regarding a formula generated content -> i would like to convert the generated content into a dropdown in another field. Is it possible ?

  • @GarethPronovost

    @GarethPronovost

    6 ай бұрын

    You can't use a formula to generate a dropdown, but you can use an automation!

  • @martakolyshkina5186
    @martakolyshkina5186 Жыл бұрын

    Can you please suggest to me a formula that will remove a text after multiple characters ( ‘’,‘’ ‘’/‘’ ‘’ - ‘’ ‘‘and’’ ‘’&‘’ ‘’;‘’ ‘’(‘’. I already found on this Forum the formula that removes a text after one single character, LEFT( {Column name}, FIND( “-”, {Column name} )-1 ) Can you please advise me on how to add to this formula options for other characters, or maybe the new formula that will have a such workflow, thanks in advance

  • @GarethPronovost

    @GarethPronovost

    Жыл бұрын

    Hi Marta, sounds like you want to try the SUBSTITUTE formula. You can search for characters individually and replace them with null values.

Келесі