Leverage this space to unlock the power of Airtable formulas.
Recently active
Hi folks, first-time poster here; I’ve looked around and tried some things but none of the solutions I’ve found worked, so here we go: I currently have an IF formula that displays 3 different results based on the content of one column, and I am trying to display a 4th result based on the content of another column. Here’s what I have so far: IF({EXP}="",“UNLISTED”, IF({EXP}<TODAY(),“EXP”,“ACTIVE”, ) ) I’ve tried: IF({EXP}="",“UNLISTED”, IF({EXP}<TODAY(),“EXP”,“ACTIVE”, IF({MARKET}=“AUCTION”,“AUCTION” ) ) ) …but Airtable just deletes the third string. Other variations (IF/AND, IF/OR, and ELSE) generate an error. I’m sure what I’m trying to do is simple enough, but it’s giving me a headache. Please help! Thank you, Shawn
Hi everyone, For the freelancing part of my making-ends-meet endeavors, I have started tracking tasks. Usually, that’s no problem with Airtable. But once in a while, I’ll forget to enter a task when I start it, and, instead, enter it when I remember to do so. That means CREATED_TIME() in the primary field gives me that later time, and that’s not helpful. I tried to get around this by using this formula: IF({Manual Date & Time},{Manual Date & Time},CREATED_TIME()) But if I toggle on “Use the same time zone…,” the CREATED_TIME() goes wonky. And if I don’t toggle on “Use the same time zone…,” the {Manual Date & Time} goes wonky. How can I get the time zone to be consistent in this formula field whether it’s autogenerated or manually entered? If someone could help me figure this out, I would be really grateful!
Hi! I’m trying to calculate a formula field that looks at 2 different fields (# Benefits Remaining) and (End Date) and returns either “Active” or “Inactive”. If the # Benefits Remaining is >=1 OR the end date is after today, it is active. Some of our benefits have a specific number available and others last for a specific duration of time. Here’s what I have so far - what am I doing wrong? IF( OR( TODAY()<{End Date}), ({# Remaining}>=1), ), “Active”, “Expired” )
Hello, I am trying to create a field that concatenates two rollup fields that have the array(unique) formula in each of them. But the concatenated result eliminates the comma. You can see in the 10th row, the comma between “Refugee Support” and “Water access, sanitation, and hygiene” is missing. Here’s what I used: IF(OR({BACKEND_Subject Areas of Proposals as Lead}=BLANK(),{BACKEND_Subject Areas of Proposals as Partner}=BLANK()), CONCATENATE(ARRAYUNIQUE({BACKEND_Subject Areas of Proposals as Lead},{BACKEND_Subject Areas of Proposals as Partner})), CONCATENATE(ARRAYUNIQUE({BACKEND_Subject Areas of Proposals as Lead}& ", " &{BACKEND_Subject Areas of Proposals as Partner}))) For context: Each row is an organization that have submitted a proposal to us. I would like the field “Subject Areas of Proposal(s)” to be a tidy array of subject areas tied to that organization’s proposals, which they selected from a standard taxonomy list (Linked Record in the forms). Sometimes the organiza
This is probably easy, but I’m using DATETIME_PARSE so that a field being called up can be converted to date, but sometimes those fields that are called up don’t have dates, so it returns an error where there is no date to convert, how do I make it return a blank?
Hi Team, We are trying to link a few records between 2 different project bases and we hope that you can show us the right direction. Problem Statement: We have 2 Project Bases, External and Internal, and we would like to add the records in External Base to another table in Internal Base. Progress so far: We can sync all records from Table 2 in one base to another base with no problem. Help Needed: Can we do a formula or rule set to add records from synced table to the another table in the same base ( Vlookup)? We would really appreciate your thoughts and guidance on this one. Thanks in advance.
Hello! I’m having trouble with a formula. I hope someone can help:) Issue: Certificate program provides two chances for someone to pass the course. If a person “passes” Quiz 1, they automatically pass the course. If they don’t pass, they can try it again with Quiz 2. If they pass Quiz 2, they pass the course. I need to create a column that states that if there is a “pass” in either Quiz 1 or Quiz 2, they pass the course. I’ve been writing out formulas and I’m getting some things wrong. Can someone help me figure this out? Options: Pass, Did not pass, Not Started These are some of the examples I’ve been writing the formula in a third column called “Final Results”. I want this column to read “pass” or “did not pass”. This is the column that will be exported to a certificate platform that specifies only one field for people who pass. IF((Q1 IS_SAME(pass) OR(Q2 IS_SAME(pass))) IF({Q1}IS_SAME(Pass),IF({Q2}IS_SAME(Pass),“Pass”) IF(){Q1}IS_SAME(Pass), IF(){Q2}IS_SAME(Pass),“Pass”) IF( {Quiz 1
I have a formula field that calculates the difference between {End date} and {Start date}. Works fine If there is no Start Date or no End date I want the cell to be blank instead of NaN Been trying everything. HELP!!
I have scoured the community and keep bumping up against an error when trying to create my formula for a SKU number. I have multiple product categories: Mugs, Berry Bowls, Plates, etc. I would like to have a SKU number that displays the current year, current month, a truncated category, and the autonumber field. The categories will change to a two or three letter combo, like Mugs becomes MUG, Berry Bowls becomes BB and so forth. The SKU should end up like this: 2022-03-BB-00001 I’ve tried the SWITCH command, but kept getting an error. I don’t currently have a date column, but do I have to have one to include the year and the month? Also, the autonumber column doesn’t add the zeros. How can I get the autonumber field to display a 5 digit number? Thanks in advance. Lisa
Hi, Does anyone have a formula to format a date to include the “st” “nd” “rd” “th” ? For example, I would like 3/21/2022 to read as Monday, March 22nd I can only figure out how to do Monday, March 22 Thanks! Tom
How do I convert the function “=CONCATENATE(REPT(0, 3 - LEN(A1)), A1)” used in Excel into an airtable formulas?
We have a farm and grain processing facility. We installed an on farm truck scale a year ago and have been manually filling out scale tickets, bills of lading, and a scale log. I want to set up a system in airtable as a scale log with the following data: Unique ID Date Origin (Name, Address, City/State/Zip, Phone, Email) Destination (Name, Address, City/State/Zip, Phone, Email) Product Status (Organic/Transitional/Conventional) Lot Number ******* (more later) Gross Weight Tare Weight Net Weight Incoming Moisture Product Target Moisture Moisture adjusted weight (this is a formula we are already using) Scale Operator Notes From that I would need to be able to generate: Scale Ticket Bill of Lading these 2 items I’m guessing will something like “Page Designer” Most of this is straightforward, what I’m having trouble with is trying to set up a formula to automatically generate a lot code based on other data already in an entry. Our current lot code format is: Origin Initials-Status,Produc
I have up to 3 fields that I want to merge together and separate each field with a comma, but only if the field is not empty. If any of the 3 fields are empty, I don’t want them included so that I don’t have extra commas in the resulting formula field. Any ideas how I achieve this?
Hi, I am trying to create a sum up view form my services sales. I provide only 7 services but I sell them always with different price and expense. This is what I have: Table 1: Service - Service (Service name + reference number of each sale), reference number of each sale, Sale date, Sale month (from Sale date), Price (different for each sale!) Table 2: Expenses - Name of expense (Service Name+date of expense), date of expense, amount paid Table 3: - Service name - linked to Expenses and Service table, where I rollup all sales and expenses for each month (using conditions) then I can get net profit. The problem is that every new month I have to create new conditional roll up to get monthly sale, expense and net profit. Is there any way I can create this reports automatic? Creating views in ech table won’t be enough for me as I can’t get the net profit values using only views :confused: Thank you all in advance! Kamil
Hi! I am trying to write a conditional formula on a rollup… In table A, I have a dropdown column (“sponsored”) with multiple options, not all rows have a dropdown against them. I have table B that has a rollup column, that I would like to sum the values IF the row in table has a dropdown against it. I am using… IF({sponsored}, SUM(values)) …but it’s not working!
Thank you ahead. This is probably an easy one, but I could use the help since I’m not good at formulas or programming. Basically I am getting data from an API that is giving me IDs that need to be matched with Values. I got that happening but where the Values are Blank, I get an error, possibly because it’s trying to format it into a date. The errors are keeping it not working with some reports, so need them to result in blank() when erroring. Here’s my formula: DATETIME_PARSE((IF({Custom field items 1 id custom field}=“5a9866ffd6afbd6de1c0d07b”,{Custom field items 1 value date})&IF({Custom field items 2 id custom field}=“5a9866ffd6afbd6de1c0d07b”,{Custom field items 2 value date})&IF({Custom field items 3 id custom field}=“5a9866ffd6afbd6de1c0d07b”,{Custom field items 3 value date})&IF({Custom field items 4 id custom field}=“5a9866ffd6afbd6de1c0d07b”,{Custom field items 4 value date})&IF({Custom field items 5 id custom field}=“5a9866ffd6afbd6de1c0d07b”,{Custom field it
I’m trying to forecast revenue for my company. I have a table, and basically what I want it to do is tell me: If Order Date Created is “X”, and payment method is “Y”, add “Z days” to Order Date and output new date. Can’t quite figure it out. For example, if they paid with a credit card, I know their payment will settle today. But if they paid by check, I can forecast the revenue out 2 weeks or so. Anyone know how to do this?
I have a table like in Screen Shot 1. I spent a few hours here looking for a solution on how to get a column like the green one in the screenshot or another table like in the second screenshot. Any hint would be greatly appreciated. Thanks in advance , N
Hello! Currently I am trying to create a formula field to check the length of a text if it is the right length for a tweet. But I want to exclude links in the text, as Twitter always takes 23 characters for a link. So the hyperlinks in my text don’t need to be counted. Can I make a formula to count only the text which is not part of the url?
I have a field that lists jobs as “open,” “closed complete” and “closed incomplete”. I would like to calculate the number of days for open jobs since they’ve been submitted. Without conditional formatting, datetime_diff (today(), {date requested}, ‘days’ works. When I try to add in a condition it doesn’t. I’ve tried multiple variations of this, but nothing seems to work. =if({date requested} = “open”, ) (datetime_diff (today(), {date requested}, ‘days’ I’m sure it’s an additional/missing character issue, but if you can help, I’ll forever be in your debt.
I want to find out if I can convert this Community Profit Calculator Google Sheet into an AirTable. is that possible? In the basic version simply input Membership rate Current Membership Size Membership Growth (monthly goal) Membership Churn Expenses You will then get a breakout of how much profit you will make per month. The Plus version I want to be able to allow multiple Membership based revenue options (I have counted 21!) I have other ideas on how to expand including being able to sell that individual Airtable via https://paytable.io/ A future idea includes being able to indicate how many members I want in 12 or X months in the future, then the output will divide the total by the number of months to reach goal and determine the monthly profits from there. Thoughts? Can it be done? If so, how? Thanks let me know if you need more info to answer question.
Thank you Airtable team! I love the new Formular formatting you have implemented. It really helps, when writing longer and complex formulas!
Hello! We use this formula: =REGEXEXTRACT(IMPORTXML(A1,"/html/head/meta[@property=‘article:modified_time’]/@content"),"^(.+?)T") on Google Sheets to fetch publish date information from a URL (A1, in the formula). We would like to do something similar on AT but I can’t for the life of me figure out how AT would write this out as a formula. Any tips?
I can’t open my formula field. Every time I double-click on the field name, it just pops up a banner saying “An error has occurred” and forces me to refresh the page. This happened to my base after the formula formatting update today. Strangely this only happens to one table in my base. Other tables are working fine. I attached a video recording of my screen below. Any help will be much appreciated! Thanks guys. https://cln.sh/PpmNkX
Any way to use spintax in formulas to create concatenation texts that are a bit more dynamic?
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.