Leverage this space to unlock the power of Airtable formulas.
Recently active
I’m trying to set up an automation that will send an email reminder at a later date to complete a task. I have set up one column with “Due Date” another as “Today” and a third as “Send”. I have set up the following formula that when “Due Date” = “Today” it should put an “X” in the “Send” column. My automation is set to send the email when the “Send” field is updated with an X in it. Here is the formula: IF({Due Date} = {Today},“X”) It did not work. I also tried: IF(IS_SAME({Due Date},TODAY()),“X”) That didn’t work either. Just to test it, I tried: IF(IS_SAME({Due Date},TODAY()),“X”,“Y”) and then all the columns filled with Y, even the one where the Due Date matched Today. ???
Ok this seems pretty simple, but I just can’t get my head around it. I am new to formulas, so get the basics, but want to move beyond. Fields are - Member, Age, Clearance, Expiry, Valid, Current Member, Needs attention. Basically, if the Valid field is ‘not valid’ and the current member is ‘yes’ then the needs attention should be ‘yes’ However, if the member is not yet 18 then clearance etc is not required. So far I have IF( Age<18,“Not Required”, IF(AND(Age>17, Clearance,Expiry), “Valid”, “Not Valid”)) But I would like it to only be valid if the Expiry is after ‘today’. I really don’t know if I am explaining it well. I have created an example table here to help explain.
I have the following formula field that works perfectly to set the Expiry Status. The problem with having a text Expiry Status is that I cannot use it for KANBAN views (and also it does not show in cool colors!). If I had a single select field for Expiry Status, would there be a way to have a formula that can change the value of the single select field instead of the formula that outputs the status as text? If not with a formula, is there a way for Automation to change the value of a single select field based on the logic I am using in the formula? The formula for the Expiry Status field: IF({Months for expiry}=BLANK() ,BLANK() ,IF({Months for expiry}>24 ,“More than 2 years valid” ,IF({Months for expiry}>12 ,“Less than 2 years valid” ,IF({Months for expiry}>6 ,“Less than 1 year valid” ,IF({Months for expiry}>3 ,“Less than 6 months valid” ,IF({Months for expiry}<0 ,“Expired” ,“Less than 3 months valid” ) ) ) ) ) )
Not sure how to properly write this out in a formula. I’ve got it working with this one formula: IF({QTY Used in Part}=1000,“ :white_check_mark: Good :white_check_mark: ”,“ :red_circle: Incorrect :red_circle: ”) I’ve tried just using a bunch of IF statements, I’ve tried to make AND/OR work to no avail (probably not doing it right), I’ve read about Switch but am unsure of how to make it work for my needs - I have no idea where to go from here. Please help.
I’m using this filterByFormula which works perfectly fine based on date, but I want it to work based on hour as well. Just keep it the same way it is with hour functionality. filterByFormula=IS_AFTER(LAST_MODIFIED_TIME(), DATETIME_PARSE("6/18/2022", 'locale')) So for example for todays date which is 6/18/2022 be able to do 6/18/2022 20:00 What is the proper format to do it?
I have the following value 2022-06-01, 2022-12-05 and I need a formula that checks whether: 2022-06-01 is after TODAY() or 2022-12-05 is after TODAY() How can I do that? Doing that with a single date (e.g: 2022-06-01) is easy, but how can I handle that for a list? Note: 2022-06-01, 2022-12-05 is a rollup value of a one-to-many relationship, I don’t think I can use the relationship to perform any kind of calculation there, though. (I don’t see how that would help)
Hello everyone, :wave: I’m having some odd behaviour I can’t figure out. I have a formula rolling up invoices linked to a case. IF(Statut = "Clos et facturé",MAX(values),"Dossier ouvert") It does not work. The cell shows up empty when it should show the last invoice date. But if I try: MAX(values) It works. And if I try: IF(Statut = "Clos et facturé","test","Dossier ouvert") It works too. I’m puzzled as to why my first formula does not work. Thank you for your help, Joachim
I have two tables: Table A (i can modify it) Todo text (just a text field) Related Issue Title (linked table field) Related Issue Link (the field I’m questioning) Table B (can not create new fields) Title Description Status I know that there is a function RECORD_ID() which returns the current row’s record id. I also know that the link to the record looks like that: 'airtable.com/appxxxxxxxxx/tblxxxxxxxxx/viwxxxxxxxx/recxxxxxxxx' So I need to generate URLs to the Referenced Issue in a separate field in Table A I also can not enable the scripting app for this field because it’s disabled for security reasons by our admin :slightly_smiling_face: I expect the answer to be “it can not be done” but asking just in case…
Please look at my screenshot. The entries come in with the most recent at the bottom (date order). Is there any way to reverse the order so the most recent entry appears at the top? Thanks for any help!
Hi Community - I have a formula that performs a simple calculation by summing a series of cells. The challenge comes in that some of these cells contains text, rather than numbers. I would like the formula to ignore the text so that a total can be calculated. Currently, a ‘NaN’ is being returned. I attach an image of the cells that I am trying to calculate and the simple formula is: {1-Jul}+{4-Jul}+{4-Jul}+{5-Jul}+{6-Jul}+{7-Jul}+{8-Jul}+{11-Jul}+{12-Jul}+{13-Jul}+{14-Jul}+{15-Jul}+{18-Jul}+{19-Jul}+{20-Jul}+{21-Jul}+{22-Jul}+{25-Jul}+{26-Jul}+{27-Jul}+{28-Jul} Thanks in advance
Not sure this is possible but I can’t seem to get this to work when I add the second part. I have a formula that works this way 'If Base Rate = 0 and IF UM= “Pounds” then Weight / 2000 * Price, IF Base =0 and IF UM= “Kilograms” then Weight / 2200 * Price, IF Base Rate = 0 and IF UM = “Each” then “Price” I need to add this: 'IF Base Rate Not Equal to 0, and IF UM=“Pounds” then Set Weight/2000 * Price, IF Base Rate not eqaul to 0 and IF UM =“Kilograms” then Set Weight / 2200 * Price, If Base Rate not equal to 0 and If UM =“Each” then “Price” My Formula: IF({Base Rate } = 0,IF({UM} = “POUNDS”, ({Weight}/2000 * {Price}), IF({Base Rate UM} = “KILOGRAMS”, ({Weight}/2200 * {Price) , IF({UM} = “EACH”, {Price}, IF({Base Rate} !=0, IF({UM}= “POUNDS”, ({Set Weight}/2000 * {Price})… It computes the first part when the base rate is 0, but when the base rate is not 0, that part of the formula doesnt compute. Any insight would be appreciated.
Date fields and formula fields with dates are now formatting to center left of cell? There is no ability to adjust text placement that I can see so it now sits out of place with other cells data visually. its also annoying that some cells format top right, and others top left. Can we have formatting options for columns?
Hello everyone, I’m trying to separate firstname and lastname using formulas I found online. My issue is that some french name are like: John De Doe The first word is always the firstname, the rest is the lastname. I have this formula for firstname: IF({Nom complet}, REGEX_EXTRACT({Nom complet}, ".* ")) And I have this formula for lastname: IF({Nom complet}, REGEX_EXTRACT({Nom complet}, "\\s(.*)")) It outputs “John De” as firstname instead of “John”. and “De Doe” as lastname which is what I want. I need a formula to get first word (preferably using regex) that works with special characters. Thank you for your help, Joachim
Hello, all Airtablers, I’ve created a simple ‘Clocking In/Out’ Airtable for a colleague to track staff signing in and out. It uses a simple form where the user selects their name from a single select field and then selects either ‘In’ or ‘Out’ from another single select field and then submits the form. In the table itself, each member of staff should have an ‘In’ AND ‘Out’ record for each day with the automatically generated date and time. Now is there a way to calculate the difference on the ‘In’ and ‘Out’ times for that staff member for that day as the values are on different records?
Hello hello Airtable Fam. I have a question about formulas. So I have a “Due Date” field that I want to use as my constant to determine what Quarter of the year it’s in over 3 years. So I want a formula that will calculate: if the due date is between 1/1/2022 and 3/31/2022 that I’ll get a value of Q1 2022 OR if the due date is between 4/1/2022 and 6/30/2022 that I’ll get a value of Q2 2022 OR if the due date is between 7/1/2022 and 9/30/2022 that I’ll get a value of Q3 2022 OR if the due date is between 10/1/2022 and 12/31/2022 that I’ll get a value of Q4 2022 OR if the due date is between 1/1/2023 and 3/31/2023 that I’ll get a value of Q1 2023 OR if the due date is between 4/1/2023 and 6/30/2023 that I’ll get a value of Q2 2023 OR if the due date is between 7/1/2023 and 9/30/2023 that I’ll get a value of Q3 2023 OR if the due date is between 10/1/2023 and 12/31/2023 that I’ll get a value of Q4 2023 OR if the due date is between 1/1/2024 and 3/31/2024 that I’ll get a value of Q1 2024
Hello, I’m creating a maintenance schedule but I’m having difficulties create a formula that shows me the “due status” based on how many days ago an item was serviced. Individual item have different frequency of service: Monthly, Quarterly, Annually, and so on. I have a single select field that dictate the frequency for each type or maintenance. I was able to create a formula to calculate cost using a base cost * how often we perform it, but I’m having trouble applying it to idea I’m trying to perform. What I’m trying to do is IF an item was serviced today, and its frequency is MONTHLY, It will be “On Time” for 30 days, by the 25th to 29th day it will “Be Due Soon”, On the 30th day it will be “Due today”, and on the 31st or passing the 31st day will be “Overdue”. This is what I kind of have but it’s probably wrong.
Is there a way to format the items in the rollup field to look like this (including brackets on either side): [“Choice1”,“Choice2”,“Choice3”,“Choice4”,“Choice5”] I have this formula but it does not work in a rollup field: '["' & SUBSTITUTE( Choices, ', ', '","' ) & '"]' Then I found this sample code: IF( ARRAYJOIN(values), "- " & ARRAYJOIN(values, "\n- ") ) But I can’t figure out how to combine them without an error. IF( ARRAYUNIQUE(values), '["' & ARRAYUNIQUE(values, ', ', '",") & '"]' ) All these “,”"’’ are making me go cross eyed. Please help me! :rofl:
I have a multi-select field that has a large number of choices. I have decided it would be better to separate them into different categories (fields). Is there a way to do this? I have a master list of choices in a separate table (if that helps). These choices have a name and a description and a category. Is it possible to do something like this: Category 1 Field Look at the main select fields and find all choices. Look at the master choice list and find the choice name that matches the category. Place the choice that matches the field category into the field. I am on a free plan and have no access to paid tools. Example base for explanation purposes: Airtable Example Base - Airtable Explore the "Example Base" base on Airtable.
Hi - I’m trying to set a due date that is two weeks out from a publish date on the nearest Thursday. Essentially, everything that is set to be published in week 25, should be due the Thursday of week 23. Does anyone have any hot tips on how to formulate this one?
Hey everyone, I was wondering if there is a way to use a formula while rollingup information from a linked table that can exclude certain records that are attached to specific single selects in the table that has the information that is being rolled up? I am trying to extract insights from my projects table into another reports like table, but am running into an issue where projects that I am currently working on that aren’t fully finished with the total time it took for the project/ how much I have made from the project are figured out which are interfering with me creating acurate insight amounts. Any help is greatly appreciated, thank you!
Hello, I’m relatively new to Airtable, so I have a question if something I’m doing can be improved: I have a base where I am counting the number of checked boxes (so far so good) However, I will create a large number of bases where the task name varies and won’t be a simple Task1 etc. Is there a way to count the no. of checked boxes without referencing the Task1, but something along the lines of referencing the cells (like in excel) This way I can just duplicate the base and change the “task” name for each base as needed, without needing to change the formula all the time. But the formula would work regardless of what the task name is. Thanks!
Hello, I’m starting on airtable and I can’t find the right formula to perform an operation. I would like to extract the link in the second column IMAGE to insert it at the planned location in the third column JSON. Can someone help me with this ? Thank you :slightly_smiling_face:
Hi Community, I’m really hoping someone can help me with this, as I’ve tried so many different ways to get it to work and read so many different scenarios that don’t quite fit mine, that I’m now totally muddled and have no idea why it’s not working. I’m trying to have a formula field that looks at the date in the {Date & Time} field of an event and determines which school term or holidays (Australia) the event falls into. The end goal is to then be able to group the events by this formula column. Originally I tried a SWITCH formula, but I couldn’t figure out how to add in the DATETIME_PARSE, so I’ve changed to nested IFs, so it is quite long, but I would really, really appreciate any suggestions as to why it might not be working. Also, if the date doesn’t fall into any of the date ranges, I want the cell to be blank. Thanks so much in advance! `IF( {Date & Time}, IF( AND( IS_AFTER({Date & Time}, DATETIME_PARSE(‘06/02/22’, ‘DD/MM/YY’)), IS_BEFORE({Date & Time}, DATETIME_
Hello :slightly_smiling_face: I have created two tables, one with projects and one with tasks which link to the projects. In the projects table I have the tasks shown as well, but I’d like the tasks to show up as “Task1✅”, “Task2❌” - depending on completed or not, which will be determined in the task table. I know I can’t override a linked column, but I wanna know how I can adjust the formula in the tasks table, if I want the Task name to update according to the checkbox done/not done. I tried various formulas from a past thread (IF({Completed}, “ :heavy_check_mark: ”, “ :x: ”) & " " & {Name}) but they never seemed to work… Anyone got an idea? :slightly_smiling_face:
Notice: I am on a free plan and do not have access to any paid tools by Airtable or another company. I am trying to export airtable data in a csv. The place I am importing to cannot recognize “drop down” menu options. I need to extract about 100 dropdown menu options* and format them thusly in a “text” field ["value1", "value2"] *When I mention options I am talking about all the options in the dropdown menu, not just the ones selected and displayed. I don’t know if this is possible, but if anyone knows a workaround that would be awesome. It would save me the hassle of having to type them all out with that formatting. :dizzy_face:
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.