Leverage this space to unlock the power of Airtable formulas.
Recently active
Hi! In my base I have 3 fields where various dates are entered, based on when a client was contacted. Basically a first, second, and third touch point in communication. I have a fourth field that currently pulls the most recent date based on what’s entered in the other 3 columns. If only the first contact field has a date, then the most recent outreach is that date. If the second contact point has a date, then it assumes that date is most recent. Same with the third contact date… if anything is entered into that field, it assumes it’s the most recent. My issue is that sometimes, 6 months to a year down the road, the contact points may start over, and that first date may become the most recent date. (But because there are still dates entered into the other two fields, the 4th field assumes they are still the most recent, when they aren’t) Is there a way for it to calculate within the system which of the three dates is actually the most recent date? I hope that makes sense!
So I watched an excellent Youtube video and figured out how a user can edit table data with a form. However, I got the Record ID to prefill, but I can seem to get the others working. Here is the code. It’s a mess. Hard to write it in since a tiny box. CONCATENATE({Form URL},'?prefill_Parent%20Record%20ID=',{Record ID},'&prefill_Doll%20Complany=',{Doll Company},'&prefill_Company%20Logo=',{Company Logo},'&prefill_Country=',{Country},'&prefill_Status=',{Status},'&prefill_Doll%20Lines=',{Doll Lines},'&prefill_Sub%20Lines=',{Sub Lines},'&prefill_Resin%20Colors=',{Resin Colors},'&prefill_Will%20they%20custom%20color%20resin?=',{Will they custom color resin?},'&prefill_Official%20Webpage=',{Official Website},'&prefill_Official%20Taobao%20Store=',{Official Taobao Store},'&prefill_Official%20Measurements=',{Official Measurements},'&prefill_Skin%20Color%20Comparison=',{Skin Color Comparison},'&prefill_Notes=',{Notes}) Company Logo is an attach
After searching here and looking at the nested ifs reference, I believe I’m close, but not quite there. I want the formula to look at values in two fields (likelihood of a problem; severity of a problem) and return a third value (combined level) depending on the combination. A sample of part of it is below. Example formula so far: IF( AND({Likelihood} = “Improbable”, AND({Severity} = “Acceptable”)), “Low”, IF( AND({Likelihood} = “Improbable”, AND({Severity} = “Tolerable”)), “Medium”, IF( AND({Likelihood} = “Improbable”, AND({Severity} = “Undesirable”)), “Medium”, IF( AND({Likelihood} = “Improbable”, AND({Severity} = “Intolerable”)), “High” ) ) ) )
I’m pretty new to Airtable & formulas. Was hoping someone could help me find a solution to cleaning up data for a phone field. I’m pulling data from multiple sources and while most numbers are formatted consistently, there are a few outliers I want to be sure to account for. Most common format: Dirct: XXX-XXX-XXXX A decent number also have an extension on the end in the format of " ext. X" , which are always one character. Some other formats that throw things off: There are just a few that are entered as (XXX) XXX-XXXX A handful of others that are Cell: XXX-XXX-XXXX And a small percentage that include multiple phone numbers as Dirct: XXX-XXX-XXXX, Dirct: XXX-XXX-XXXX My goal: If there are two phone numbers listed, I’d like to move the second one into a new column for an additional phone field. My guess is to parse this by comma somehow, but again – new to Airtable and having trouble figuring this out! I’d also like to remove the cell: or dirct: in front of all numbers. They can rem
I have imported our Google Analytics data through AirFlow and would like to convert the Hour of Day to the correct format. The way GA has it formatted is “2021070100”, which is 7/1/2021 at 12:00 AM. Is there a formula I can use to get the desired outcome? Thanks!
Hi everyone, Trying to write a multiple If statement formula to return in what quarter something took place. Example: IF( AND( IS_AFTER( {Training Start Date}, ‘2020-03-29’ ), IS_BEFORE( {Training Start Date}, ‘2020-07-04’ ) ), “FY21Q1” , This formula works fine, but when I try to add more modifiers for each quarter, it doesn’t seem to work. IF( AND( IS_AFTER( {Training Start Date}, ‘2020-03-29’ ), IS_BEFORE( {Training Start Date}, ‘2020-07-04’ ) ), “FY21Q1” , IF( AND( IS_AFTER( {Training Start Date}, ‘2020-07-05’ ), IS_BEFORE( {Training Start Date}, ‘2020-10-03’ ) ), “FY21Q2” ) IF( AND( IS_AFTER( {Training Start Date}, ‘2020-02020-10-04’ ), IS_BEFORE( {Training Start Date}, ‘2021-01-02’ ) ), “FY21Q3” ) IF( AND( IS_AFTER( {Training Start Date}, ‘2021-01-03’ ), IS_BEFORE( {Training Start Date}, ‘2021-04-21’ ) ), “FY21Q4” ) IF( AND( IS_AFTER( {Training Start Date}, ‘2021-04-04’ ), IS_BEFORE( {Training Start Date}, ‘2021-07-03’ ) ), “FY22Q1” ) Hopefully, someone can see what I am missing
Hello! I am using LEN({Long Text}) to count the number of characters in a text field. I also see how to use this to display a symbol depending on if its under or over: IF(LEN({Long Text})>280, “ :x: ”, “ :white_check_mark: ”) How do I combine these in one field? So it would show the character count, and also the symbol for over or under? Thanks for any help!
Hello, I’m trying to solve the following problem: I have created a table which has 2 columns {DATE FROM} and {DATE TO}}. The third one I have is called {WORKING DAYS}, so that one should show a number of working days between selected dates (from and to). The problem I’m having is that I cannot calculate number of working days between them (without weekends), I can just get all days, which is not useful for me in this case… Is there any chance to solve it? WORKDAY() function doesn’t help, since it just creates a due date when I enter parameters. I could solve my issue, if there are for loop, for each, or any other loop functions in the functions menu. Thank you
Hi All, I am trying to get a function to enter the current date when I change the status to done but I want the date to stay static and I cant figure out what date function to use for this. Here is what I have: IF(Status=“Done”, DATETIME_FORMAT(TODAY(),“DD/MM/YYYY”), BLANK()) Now when I changed one item to “Done” yesterday it put in yesterdays date but when I logged in today it had todays date instead. I figured this would happen but don’t know what to put where I have “TODAY()” to get this to work. Can anyone help me with this?
Good Morning AT Community, Would love some help on how to convert the date in the primary column (which is named Interactions in the screenshot). I am attempting to combine the name of the contact, type of interaction, and the date of the interaction into the name of the primary field. I get how to use Concatenate how to do this, but have tried every conceivable DATE_FORMAT method I can think of, and nothing gets me what I want - which is for the date to match the “When” field. Thanks in advance.
Dear All, I am quite new user of Airtable and I am trying to create a database for my geology laboratory. In short, we make microscope slides named Thin Sections (hereafter I will call them “TS”) from geology samples (hereafter “samples”). From one sample, one can obtain more than 1 TS at the end of the manufacturing process. However, the user knows since the beginning if he/she wants one, two, or three (and so on) TS from his/her own samples. I have thus created a table with the following fields (see attached image): “Sample name”, “Site name” (the name of the site where the sample has been collected), “total TS” (that refers to the number of TS on aims to obtain), “TS names” (since each TS has its specific name at the end of the making process). In the case more than one TS will be produced, I would fill automatically the “TS name” field as it follows: e.g. → (Sample name)_1, (Sample name)2, (Sample name) 3…and so on, in relation to the number of TS he/she wants that he/she wrote i
Hi Everyone, I’m trying to figure out a formula and am wondering if anyone here might know the answer: I’m trying to calculate the days between a Start Date and End Date, but if the Start and End Date is the same, I want that to = 1. I’m using the DATETIME_DIFF formula, but when the Start/End is the same, it returns a 0 when I want a 1. Thank you!
I made a short video to explain my challenge: https://vimeo.com/575868703/4099a1186a Basically, I’d like to create a formula, so I get only the coming date within a list of dates. Hope someone can help me with this. Thank you guys!
I have two fields - a rollup field with 3 integer values and a currency field with a single value. I want to divide the currency field by each value in the array to, hopefully, get a new array that includes the output of each calculation. This seems like an obvious problem to do on an array but I cannot find the formula to perform the task. Can someone point me in the right direction? I’m brute forcing this and it sucks.
Hi old Airtable friends, It’s been a while. I’ve been using a formula that’s worked up until now: IF([Book Number - Old}, {Book Number - Old}, “BN” & {Autonumber}) But now I see that when a book record is duplicated, the same old book number is duplicated right along with it and we need each and every book in our inventory to have a unique inventory number. Any ideas? Please and TIA. :slightly_smiling_face:
I want to create a table to calculate my cost of goods, for products that I make. I have a table with the list of products and their RRP. Another table with a list of expenses, ie labour cost, packaging cost, materials cost etc I want to have a third table that takes (product RRP) - (total costs) = profit For example (candle $59) - (wax $2, vessel $5, packaging $3, labour $10) = $39 I’m very new to tables and formulas, so it may be easy and obvious. Any help would be appreciated!
Hello! So I’ve found a formula before for pulling the most recent record added to a Linked Record Field, but I now find myself needing to pull out the FIRST record added. Basically, I have a Market Research base with a Table of Titles. There is a field there called “Seen at” that links to second Table of Events, showing every time we’ve seen that title exhibited. I want to add a rollup or formula that takes the linked record that was the first added to that field and puts it in a new field called “Discoverd at.” Anyone have any ideas on how to do this?
Hello! I’m looking for a way to restrict a lookup to only the record with the max date in a date field. Context: Managing a vehicle fleet Bases: Registration VIN Desired outcome Only display the license plate that is associated with the registration record that has the max “license plate exp date” value. I’m not sure how to go about this. Seems like there may be a way to do so by creating a view in the registration base that only shows the records with the most recent restricting the lookup to that view but can’t figure out the first step there. Any help appreciated.
Hi, I have a rollup field (called “Lessons Included”) that won’t work in the following formula: IF(AND(FIND(“Math”, {Lessons Included}), {Submit Date}=BLANK()), “Math Pending”, IF({Submit Date} = BLANK(), “Math Not Included”, DATETIME_DIFF( {Materials Due}, {Submit Date}, ‘days’))) The FIND doesn’t work, and all fields where Submit Date is blank return Math Not Included, even if Math is part of the rollup field. Any ideas on a workaround for this? UPDATE: If I create a helper lookup column that includes ONLY “Math”, I can get the formula to work. However, with all the lesson types included, that would make my sheet much larger than it currently is.
Hello, I’ve integrated Airtable with Pandadoc. Each time a client signs a quote, the information lands in airtable so that we can prepare the order to be shipped to the client. However, the order information we receive is split in 2 columns : On the left are the product references and on the right the order quantities for each reference. Is there a way to use ROLLUP or FORMULAS in order to have something that is more readable. For example : V-1C * 1 CS-1C-24M * 1 CS-6C-24M *1 Even better would be to be able to display only the references we want. For example, if I want to display only the V-1C orders, I’d have only V-1C * 1 in the resulting field. All we need is to easily understand the order in order to prepare it and ship it to the client. Thanks a lot for your help !
Hello! There is a column (category) with 3 categories (A, B, C) And a column (total) You need to create a formula: If {category} = “A”, {total}*0.5, If {category} = “B”, {total}*0.1, If {category} = “C”, {total}*1) But it doesn’t work for me. thanks
Hi everyone! I don’t think this topic has been covered but if it has, I apologise! I’m trying to create an ‘If’ stated formula that connects two multi-reference fields. The aim is to automate the following: If I select a specific field on one row, I have to add the connecting, multiple fields to that in another column (which are a lot). The logic would read like this: If ‘anxiety’ is selected on the ‘feel statement’ column, then ‘I feel nervous/worried about most of the things I do’ and ‘I feel that something bad is about to happen’ and ‘I feel a lot of uncertainty in my daily life’ are selected on the ‘feel statement_softr’ column. A field on one column (feel statement) is the diagnosis for the statements on another column (feel statement_softr). So for example: Anxiety = I feel nervous/worried about most of the things I do I feel that something bad is about to happen I feel a lot of uncertainty in my daily life I feel panic and breathless at times I’d need to add these connection b
Hello, I have a form response that pulls data in this format (bucket number, bucket weight;) ##, ##.#; ##, ##.# for example, 15, 32.5; 18, 33.4; 6, 35.1 I need to split the data so that I have the second string numbers added up to a total weight. I understand I need to split (in excel) the text at the semi colons, and then extract the last 3 characters to compound. Any ideas how to structure or accomplish this in airtable? thanks so much. Rose
Hello, I am looking for a method/formula to calculate the total time allocated for products (for manufacturing) which have different components with pre-defined times. For instance, A product called “GS60” can be manufactured from one or mix of “RCBO+GPO”, “SA Meter”, “Modem” and so on. I have pre-defined time for each component such as “RCBO+GPO = 1h”, "SA Meter = 1:5h etc. Once I select the components from multiselect field, it should be calculated the total time for each product in “Total Time” field. Thanks
I have a rollup field that is pulling the sum of multiple numbers, and in the next field, I want to use that result in a formula, but am getting an error. Before it was a rollup and I just manually entered the number, the formula field worked fine, so I’m assuming it has something to do with changing it to a rollup. This is my formula, total COG is the result of the rollup field: IF(COG>0,({Profit}/{Total COG})) Can rollups not be used in formulas or do I just need to change something about my wording for it to work?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.