Leverage this space to unlock the power of Airtable formulas.
Recently active
I obviously don’t know what I’m talking about, so apologies in advance. I was inspired by this Team Schedule using Airtable blog post where they have a formula column that delivers “team member + Status” so I’m trying to create a formula that achieves something similar, but is a little more complex: My columns are: Brand = lookup from another table example “Client 1” Project = lookup from another table example "Awesome Website" Person = lookup from another table example “Betsy” Status = single select example “Working” or “OOO” My goal is to get the formula to deliver [Shortened {Brand} name | {project}] - Status] or {person} - Status where the result EITHER shows: shortened brand name + project + status (example C1 | Awesome Website - Working) OR person + status (example Betsy - OOO) I’ve poked around several topics and the formula database trying to figure it out but I don’t know coding syntax or complex formulas. Here’s what I have so far: Attempt #1 (kind of works?) {Brand} & "
Hello all, I would like to use an If formula: Everything before a certain date should be “True”, everything after “False”. When I write it like this, it doesn’t work: IF(InvoiceDate<3/8/2021,1,2) (InvoiceDate is a Field in Type “Date” with Format “European”). Do you have any idea and could you help me please? Thank you very much!
Hi there! I’m using an API to retrieve the balance of crypto wallets. The issue is that the balances are returned in Hex decimal format and there isn’t a native function to convert from hex decimal to regular decimal in Airtable. The manual conversion is rather complex and not ideal at all. Wondering if there are any workarounds? Thanks in advance!
Hi guys, Recently, I ran into some weird cases while trying to copy-paste a formula field cell values. When I’m pasting the content, I’m getting the string with quotation marks at the beginning and the ending of the text, while in the field itself I’m not seeing them. Example: You can see there are no quotation marks in the cell itself, but when trying to paste the cell value, I’m getting: “Text text text” Any idea on how to avoid these quotation marks?
Hi Airtable Community! Need some assistance for a date formula that is stumping me. Here is the backstory and the info that accompanies the screen shot I have attached: I have a field that the user chooses for a month called “S1 Month – Choose”. I then have a field next to it called “S1 Month Shown”. This field converts the 1st field to a numeric value using the following formula: IF({S1 Month - Choose}=“January”,“1”,IF({S1 Month - Choose}=“February”,“2”,IF({S1 Month - Choose}=“March”,“3”,IF({S1 Month - Choose}=“April”,“4”,IF({S1 Month - Choose}=“May”,“5”,IF({S1 Month - Choose}=“June”,“6”,IF({S1 Month - Choose}=“July”,“7”,IF({S1 Month - Choose}=“August”,“8”,IF({S1 Month - Choose}=“September”,“9”,IF({S1 Month - Choose}=“October”,“10”,IF({S1 Month - Choose}=“November”,“11”,IF({S1 Month - Choose}=“December”,“12”)))))))))))) I have another field that is being used in this process called “Today” that is a formula field to generate the date of today. Here is the formula I am using for this:
I want to create a AVERAGE formula using 3 columns that use the single select function. See attached image.
Hello guys, I’m just getting started with Airtable formulas and couldn’t find the right formula for this scenario and will be grateful if you could help here. I’ve 2 columns when based on the value on column A I want to determent if to display a value of column A or column B in the D column. = If column A contains 1 or 2 or 3, then display the value of column A, if contain Y, display value of column B Thanks
Hi there! :grinning_face_with_smiling_eyes: :wave: Is it possible to trim input, by using the _'s ? Or is there a more clever way? Input: John-Doe_recGQNicbCUqYIJ9s_coach-60bf663d8f264a0004816093 Output formula 1: John Doe Output formula 2: recGQNicbCUqYIJ9s Output formula 3: 60bf663d8f264a0004816093 Looking forward to some tips! Thankyou! :smiling_face_with_three_hearts:
Hi, I have a time and date stamp being created in a field (Last Modified Time) for a field that we use to say when an Estimate can be made - sort of a “Clock starts ticking Now!” timestamp. The original field that the Last Modified is watching is filled by a Zapier workflow. I then have a second field that gets time and date stamped (Last Modified Time) with when we check a box for when a user says the Estimate is done. Lets say the 1st field has a date and time stamp of 8/1/21 2:30 pm, and the second field has a time stamp of 8/2/21 3:34 pm. How do I calculate the difference between the two? The goal is 48 hrs, so if the total came out as hours I would be fine with that. I currently have tried the following formulas but it seems to be related more to the fomatting allowed by AT but that is just a guess. Here is what I tried: DATETIME_DIFF({Time Stamp on Estimate Checked}-{Time Stamp - Start Time}) also tried: {Time Stamp on Estimate Checked}-{Time Stamp - Start Time} Any help would b
I have been messing around with formulas for two days, trying to figure out how to put a checkmark in the column if the post date is today or after. So, for my social media posts (which I don’t have automated from Airtable, I post them using another platform), once the time has come and gone that the post should have gone live, I want the formula column for that record to have a check box. Thanks in advance for any help with this. Kelsey
Hi! I am trying to set up a field to automatic track the day of a meeting. This meeting is the last Thursday of each month. I found a formula to automatically populate the last day of each month but I can’t find/figure out a solution to change that date to the last Thursday. For Example Last day of the month for August is 8/31/2021 (Tuesday) but I need it to be 8/26/2021 (The last Thursday) Here is the formula I found for the last day of the month: DATETIME_FORMAT( DATEADD( DATETIME_PARSE( DATETIME_FORMAT( TODAY(), ‘YYYY’ ) & ‘-’ & (VALUE( DATETIME_FORMAT( TODAY(), ‘MM’ ) ) + 1) & ‘-01’, ‘YYYY/MM/DD’ ) , -1, ‘day’ ) , “MM/DD/YY” ) I was thinking another formula field using WEEKDAY() might work but it just gives an error when trying to change the day. Thank you in advance!
I’m working on creating a table for company accounts w/specific contacts within it. Table 1 - list of all contacts Table 2 - list of all companies The company table contains a link to the contact table to pull over the contact names & company name. What I want to do is create a field that counts how many contacts I have within each company. In my screenshots, the black lines are unique companies & contacts. The two yellow lines are unique contacts within the same company. The two green lines are also unique contacts within the same company. I want a new field that counts per company how many unique contacts per company. So the yellow company would read 2, black companies would read 1. This field would be in the company table (first screenshot).
I’m planning to use Airtable in storing price data from stocks over time. I’d like to make a formula that calculate the trend over the last time period consisting of X data points. In Google Sheets there are two functions for this “Slope” and “Trend”. Are there any equivalent for Airtable or a smart way to calculate the direction and steepness of the growth over time?
Hello, I am trying to write a formula to sum individual cells. It would look like =SUM(B4, H4, …) in excel. I cam across cell reference in the API (Airtable Scripting) but I am not sure how to reference individual cells in a formula within airtable. Thanks
I created a formula field to merge three date fields into one. No record has more than one date, so I wanted them all to be in one place. However, when I used concatenate, the dates are very long, so I’m trying to use DateTime_Format for all three, but I keep getting Errors. I’ve tried looking this up and have tried different combinations, but no luck. Here’s what it looked like originally before I tried formatting
Hi all, I am trying to combine text from two fields using Concatenate (and that’s simple enough) but when I try to add a Substitute formula to shorten one field’s text, it doesn’t work. I am new to formulas, and am sure I’m doing something wrong here. Here are the two formulas that work on their own, but not together. Thank you for any insights! SUBSTITUTE(RIGHT({2021-22 School Program & Membership},LEN({2021-22 School Program & Membership})-22) CONCATENATE({Program Booked},’ / ',{School Name})
Hi all, I am terrible with formulas, and have spent way too long looking through previous posts and reading up on Replace and Substitute and Find formulas. I have a column with various names for programs. I would like to cut the first 22 characters of the title and replace any instance of New School with “New/Comprehensive” for Salesforce upload purposes. Any idea where I’m going wrong here? REPLACE({2021-22 School Program & Membership},1,22,""), FIND(“New School”,{2021-22 School Program & Membership}),17,“New/Comprehensive”) I’ve also tried variations of combining Replace with Substitute. Both work on their own but I can’t find a way to combine them in one field. This may be impossible, but the more likely scenario is user error on my part.
I’m guessing there’s a syntax error here… I can get the formula to save if I copy a sample formula that includes 3 or 4 arguments, but as soon as I add more, I get an error when trying to save. PLEASE HELP! IF( {Ticket Total} > 0, SWITCH( {ShowDate4Formula}, “2021-09-11”, “PIT”, “2021-09-18”, “MAR”, “2021-10-02”, “PHL”, “2021-10-30”, “MD”, "2021-11-06”, “PAS”, "2021-11-20”, “SD”, "2021-12-04”, “DEN”, "2021-12-18”, “SJ”, "2022-01-01”, “AUS” ) )
From this: animals > cat > face > eyes into Animals/Cat/Face/Eyes how can i do that i know the first step: SUBSTITUTE({Category 1}, ’ > ', ‘/’) // this replaces the > into / and then how can i use the upper case method only for the first letter of every word? thanks for the help please write an example code, thanks!
Hi all, thanks in advance for reading. We have the fairly standard day formula implemented in our Airtable: IF({Live Date}=BLANK(),"", DATETIME_FORMAT({Live Date},‘ddd’)) However, for just one week, if the time is before 1AM on Live Date, it appears as the day before. I’m aware a standard fix for this is overriding time zones however that won’t work for us - we’re a global team so the localised time displays are vital, especially as we work in publishing. So, I’m kind of stumped. Any ideas?
Hello, Cell value 0 is blank Cell value 0.00 is blank Cell value empty is also blank How to treat cell with 0 value and empty cells differently? All the following forumas are returning result for both the {Buy} cells that has zero value and the {Buy} cells that are empty. I want result only for the cells that has 0 or more value not the cells that has empty values. IF(AND(IF({Buy} >= -1, TRUE(), FALSE()),{Sell}), (Sell-Buy)*Lot*Qty) IF(AND(IF(NOT({Buy} = 0), TRUE(), FALSE()),{Sell}), (Sell-Buy)*Lot*Qty) IF(AND(IF({Buy} = BLANK(), FALSE(), TRUE()),{Sell}), (Sell-Buy)*Lot*Qty)
Hello, I’m trying to generate a monthly report can someone give me an idea on how to do it please other than Filtering the date.
I’m trying to create a Text field that combines two existing fields that are separated by a dash and a space. I’m using the formula tab but keep getting this error message. Can anyone tell me what I’m doing wrong? I’m new to Air Table so I’m assuming this is a rookie mistake :grinning_face_with_smiling_eyes:
I’m probably overthinking this, but struggling to find the right formula to accomplish the following: I have a list of addresses in abbreviated format “123 Main St”, but some addresses have numbers on the end (“123 Main St #2A”). I’m trying to find a way to extract the “St” without affecting addresses with street names like “State” or “Sterling”. It doesn’t need to be perfect, so addresses with St that have a number after them can remain in that format. I’m thinking I need a formula that combines IF, RIGHT and SUBSTITUTE, but can’t quite get it. IF “ST” is contained in the last two characters, extract them. Thanks, Airtable!
Hi everyone, struggling to pin down a formula… My goal is to track investments over time (i.e. date of deposit, how much was deposited, what the total amount was in my wallet at the time of that deposit, and finishing with profit/loss since I began). The formula I need is for profit/loss since starting. I figure this value is “Total Amount After Deposit” minus the SUM of all values in the “Converted” field (which are all deposits converted from EUR to USD on the investment platform, i.e. Converted1, Converted2, etc)… So how do I get the SUM of ALL Converted values into the formula? (See screenshot for reference) Any questions/clarification required, please let me know. Thanks! Christopher
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.