Leverage this space to unlock the power of Airtable formulas.
Recently active
Hey everyone,I need to find a way to list all the values from one column if those values meet certain conditions. Right now, I'm struggling to even find a way to summarise all entries from one column. The values in the column are email addresses, and the conditions are chosen by a single-select field.Just to clarify: I don't want to have one value/email address per line/record; I want to have all email addresses listed if they meet certain conditions.Example: I have a table with multiple records where I have listed all my customers. One of the columns in this table is an email address field with the customers' email addresses. There is another column—a single-select field—where you can select the status of that customer, for example, Status 1, 2, or 3. Now, I would like to have all email addresses from that table summarised in one field and separated with a comma, if the selected customer status is 1 or 2.I'm grateful for any hints I can get. ❤️
Is there a way to check a date constantly on airtable and if the date has passed label that record as missed?
Is there a UI to build a formula and get the resulting formula? The formula builder for creating views is useful, but I can't seem to find a way to get the formula out of it.Context: I'm trying to build a formula that filters records by 2 fields, an email field and a date field. What I have so far is: `AND({Notary 1 email (email)} = '${email}', IS_AFTER({Appt Date/Time (date)}, TODAY())` but the Airtable API request fails with a cryptic error: "The formula for filtering records is invalid: Invalid formula. Please check your formula text."
Hi there! I am trying to find a formula to bring a drop down option for KPIs I.E. IF Goals = "Gross Sales", THEN DROPDOWN, "KPI OPTION 1", "KPI OPTION 2", "KPI OPTION 3"
I’m trying to use the Ceiling function to round a function result up to the nearest quarter, so 0.25. But my results are only rounding to the next 0.10. How do I get it to always round up to the nearest .25, .50, .75, .00? It works like this in Excel but can’t seem to get it to work in airtable.
I can't believe a very simple feature in excel/google sheets is missing here in formulas when it comes to subtracting two numbers and if it's negative - show the number in one color, and if it's positive - show the number in another color so I have a pretty simple setupField 1: Cal+/-Formula is: 2300 - Cal results will be a number Less than 0, 0 or greater Formula is: If({Cal+/-} < 0, ??, ??)What do I use in the ?? to show less than 0 in red or 0, greater than 0 in green
Hi,I tried using != Blank() and NOT(Blank()) on several occasions for my formulars and have been getting different results. I'm not sure why.Is it because only one of the two works and the other is ignored by my formular? Or does it depend on the format that I am trying to evaluate (dates, integers, strings)? Any help on clarifying this would be greatly appreciated and prevent mistakes in the future.
Can you make a single line comments within a formula?
I have an "Applications" table that tracks contacts through various stages: expressing interest (TYPE = EOI), applying (TYPE = Application), and other scenarios for a specific session.I want to determine how many contacts who expressed interest (TYPE = EOI) in a session ultimately applied (TYPE = Application) for the same session. This will help me calculate the conversion rate between expressing interest and applying.Is there a way to calculate this?For example, in the provided screenshot, contact records 14 and 15 both expressed interest and applied for the same session. Other contacts may either only apply or only express interest.In the "Sessions" table, I have created two lookup fields: one for contacts with TYPE = EOI and another for contacts with TYPE = Application. However, I’m having trouble figuring out how to identify which contacts appear in both lists. Is there a simpler method to achieve this?I have hidden any contact names.
Hello,I have a problem performing calculations on numbers from rollup's columns. When I do additions and subtractions, I don't get any errors. However, when I try to do multiplications and divisions, I get an error. I tried adding value() to convert the text to a number (despite the original values being numbers). Although this no longer generates an error, the calculation doesn't work. I was trying to check if the divisor is greater than zero, but despite the tests, it doesn't work.I need some help 🙏Thank you,Angelo
We leverage a concatenate field to be able to indicate when milestones fall during certain weeks. We are wondering if there is a way to revise the formula so that we can have the grouping be in order chronologically by year. I have supplied the formula that we have and how the grouping is appearing today below.
Hi, my first post here. I've tried to find similar posts to what I'm trying to do with no luck. I am working in a product base and am using formulas to create product titles based off of multiple formula fields. We have products with stones and without, and then we have different types (ie. pendants, necklaces, etc.) that depending on their values make up the title. I have created the following formulas fields (which are basically concat formulas) and now need to create another formula to come up with the final title:GG Title with StoneGG Title No StoneGG Title Pendants with StoneGG Title Pendants No StoneThe logic would be:If {Division}=GG and {Master Stone}="No Stone" and {Type}="Pendant", then use "GG Title Pendants No Stone"If {Division}=GG and {Master Stone}!="No Stone" and {Type}="Pendant", then use "GG Title Pendants with Stone"If {Division}=GG and {Master Stone}="No Stone" and {Type}!="Pendant", then use "GG Title No Stone"If {Division}=GG and {Master St
Hi all, I am creating a resource library and I want different info to be displayed in one field based on the selection in another field. Im sure I am over thinking this and there is an easy solution! Here is the example; My base is displayed in a gallery view. Based on the 'Provider' listed, I want the description to change relevant to the 'Name' (e.g. Online Learning platforms'). If more than 1 'Provider' is listed, I want info for both to be displayed. Is there an easy solution for this? or a workaround? Many thanks! Nick
Hi! I created a prefilled form link but somehow it’s not populating the field. I created other similar ones and those are working though. Help! Working: Form Not working: Form
Hello Airtable Community,I'm working on a project that involves calculating the Qibla direction using Airtable. I have latitude and longitude data for various locations stored in my Airtable base. I need to create a custom formula that can accurately determine the Qibla direction for each location.I have come across the term "boussole prière en ligne" (online prayer compass) and understand its importance in providing precise Qibla directions. Could someone guide me on how to implement the necessary trigonometric calculations within Airtable’s formula field to achieve this? Specifically, I’m looking for a way to:Input the coordinates of the Kaaba (latitude: 21.4225, longitude: 39.8262).Use the haversine formula or any other relevant trigonometric function to compute the initial bearing from any given point to the Kaaba.Ensure the result is displayed in degrees, representing the direction to the Qibla.I would appreciate any examples or step-by-step guidance on setting up this formula. If
I want to create a summary of my table row, which has linked records to them. Ideally, the entire summary in text, with the linked records expressed in text within the entire summary. An example below:Case TableCase | Person | Invoice 1234 | Michael | XYZPerson TableName | DOB | AddressMichael | 1/1/1990 | 10 Oxley RoadInvoice TableID | ItemsXYZ | Hamburger; Fries; CokeDesired output:1234; Michael;1/1/1990;10 Oxley Road; XYZ; Hamburger; $2; Fries; $2; Coke; $2Ideally what I want to achieve is:Case: 1234Person: MichaelInvoice: XYZLine items1. Hamburger \t\t $22. Fries \t\t $23. Coke \t\t $2Total $6.Apologies for the lame example for hamburger and coke...I consider myself less than an expert, so if you do have better suggestions I am open to hear them.
Because automations are so limited in formatting options for email messages, I'm stuck having to create a bunch of extra fields solely to copy specifically formatted other fields and change them to flat text so they'll appear correctly when emails are sent.Because of this, I'm currently hung up trying to get currency to format properly. I have a formula field that outputs values as a currency into a field that we'll call "Dollar Total", including thousands and decimal separators. I was able to use a concat formula to get the basic copying done, including adding the $ manually at the start, but it doesn't handle decimals properly which then further complicates trying to get a formula to manually insert the thousands separator commas.For instance, if a value is "$14,500.00" it'll output as "$14,500" but if it's $14,500.80" all I get is "14,500.8". It'll go out as far as I do with numbers after a decimal, but if it's only zeroes it drops them, and then that breaks the manual insertion of
When the lookup value is a field with multiple records, is there a way to filter the returned linked records and extract one field from it?For simplicity's sake, suppose that I have the following 4 tables1. Products - generic information about products2. Vendors - info about vendors3. vendor_products - products that vendors carry (i.e. vendor pricing), linked fields to products and vendors4. invoice line items - columns to select product, vendor, lookup field with vendor_products from vendorOn the invoice line item, I would like to be able to also filter the vendor_product by the selected product and then extract the price for it. Is this possible?
I am looking to take a field that has a total amount of seconds and have it formulate into a duration.E.g. My "seconds" field set as 210 would populate in my formula field as 00:03:30:000.Does anyone have a formula solution for this?
I have a date+time and a duration (days: hours: minutes). I want to add a day:hour:minute duration to the date+time and output a new date+time. Issues I've encountered:1. I can only set a duration field to be day OR hours/minutes/seconds. 2. When attempting to create a formula to add a "Day" duration field to a "Hour" duration field the output is incorrect. For example I have a Day Duration field with "1" and in the Hour duration field I have 00:05. I triedDATEADD({Next Output Days},{Next Output HH:SS},'seconds') Results in #ERROR!SUM({Next Output Days}+{Next Output HH:SS}) Results in 301?I'd be fine with a result of the total seconds of the day + hours/minutes to use for my final formula but I can't seem to combine the day duration field and the hour/minute duration field into anything useable. I just want to recreate the function of this form under "Add or subtract time from a date" https://www.calculator.
Is there any way to display the Button field only if the URL field it references has data? So if {resource link} is null, don't display anything. We have some users who are confused when the button doesn't work (not all the records will have a resource link). These are views which are shared publicly and not Airtable users. Thanks!
When applying this formula "{Pago a realizar}-{Pago efectuado}" to the selected fields, as you can see in the 4 file, the result is not 0 but 1. How could I fix this error?
Hi everybody.My issue is the following: I have a make.com workflow in which I search for airtable records with which to perform certain actions, but it's not returning the expected result. Here's the formula I added to the airtable module in make.com:AND(DATETIME_FORMAT({var1} , "DD.MM.YYYY") <= DATETIME_FORMAT(NOW(),"DD.MM.YYYY"), {var2}, DATETIME_FORMAT({var2} , "DD.MM.YYYY") <= DATETIME_FORMAT(NOW(),"DD.MM.YYYY"), {var3}, {var3} != "N/A", {var4} != "Text", {var5}, {var6} = 0, {var7} = 0, {var8} = 0, {var9} = 1)I narrowed it down to var2 not returning the result I expect. So if var2 is "31.07.2024" and today is "01.08.2024", I get a 0, meaning Airtable is not the same opinion that yesterday is "smaller" than today. The strangest behavior. Does anyone have some advice?
I am trying to group line items based on the below conditions, but for some reason it's not working for all the "Done" ones. It does work for the 2023 items that are marked Done in the status column, but the one 2024 item that is marked Done in the status column still returns the 2024Q3. I really hope this makes sense. IF(REGEX_MATCH({Labels},"(2024Q4_\\w)"),"Unscheduled",IF(REGEX_MATCH({Labels},"(2024Q4)"),"2024Q4",IF(REGEX_MATCH({Labels},"(2024Q3)"),"2024Q3",IF(REGEX_MATCH({Labels},"(2024Q2)"),"2024Q2",IF(REGEX_MATCH({Labels},"(2024Q1)"),"2024Q1",IF(AND({Labels},"(2023)",{Status} = "Done"),"2023 Complete",IF(AND({Labels},"(2024)",{Status} = "Done"),"2024 Complete","Unscheduled")))))))
I am building a table that creates a record for monthly billing. The billing happens on the same day each month. I have a Date Paid field and a Next Date Paid formula field, and an automation that triggers after the bill gets paid to create a new record with the Next Date Paid from the old record populating into the Date Paid field of the new record.The problem I'm having is with the DateAdd() function. My current formula is: DATEADD({Date Paid},1,'month') I thought this would just add one to the month, but it actually just adds 30 days which means that my dates won't match up. I tried adding a field with a static number(MonthDay Paid) and doing something like: DATETIME_FORMAT(DATEADD({Date Paid},1,'month'),'M/{MonthDay Paid}/YY') but the dynamic slug breaks the DateTime Format function and returns "8/{8thnt121amy Pami4}/24". I'm trying to automate this as much as possible so that the user doesn't need to really access the data layer much, so a
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.