Leverage this space to unlock the power of Airtable formulas.
Recently active
Hi, I can’t seem to figure out what I’m doing wrong. I’m trying to pull the link for the last attachment added and the only way I thought to try was using Regex. I tested in regex101 here: regex101: build, test, and debug regex I’m using this in a formula field: REGEX_REPLACE({Image URLs},'.*\\((?=[^(]*$)','') and just get an error. I’m trying to extract from an attachment field: 190423-LMOps005Pool-Fitness0130_blue.jpg (https://dl.airtable.com/.attachments/cad9e1ef16011261083de0d3af0f372e/dbf5c759/190423-LMOps005Pool-Fitness0130_blue.jpg, 190423 LMOps005Pool Fitness0130.jpg (https://dl.airtable.com/.attachments/34893e2547f354b5377bd0ca0d39d118/e6877e1d/190423LMOps005PoolFitness0130.jpg
Hello lovely community! I have a table [Assets] with new entries being created based on video assets in a dropbox via a make(integromat) integration. thats working nicely. each file ends with a version tag “_v2205181930” which is _v YY MM DD hh mm - which i can extract, read and convert to a date format that airtable understands. each file auto-links itself to an entry in a [Main] table using a 3 digit ID number. this also works nicely. if i have two entries in [Assets] 101_SomeRandomWords_v2205181930.mov 101_SomeRandomWords_v2205182000.mov both linked to entry “101” in [Main] i want for any entry in [Main] that has more than one linked asset, to compare the date tag in each, find which is the newest and for any older entires tick a checkbox column called “Old” I cannot for the life of me work out how to achieve this having tried mutiple formulas, lookups, rollups and even poked aorund at scripting [not my area of expertise] Thank you
Good afternoon everyone. I’m trying to create a field that calculates the appropriate pay given the work type. In my case, there are 3 different work types, (1. Booked gig, Not booked gig, and Custom Rate). In case 1 where it’s a booked gig, the base pay is $125. If a team member surpasses $125 in sales, then they’ll receive a 20% commission on any sales after. (example, $500 revenue is generated, $500-125=$375*.2=$75+125=$200) In case 2, there is no base pay, but team-member makes 40% commission on all sales made. (example, $500 revenue generated, $500*.4=$200). In case 3, a custom rate is set and field is populated by custom rate given. I’ve been using the following formula, but my issue is that it’s still calculating the commission even if the commission benchmark is not reached for case 1. SWITCH({Work Type},“WAE - Club Booked”,(((Revenue-125).2)+125),“WAE - Club Not Booked”,(Revenue.4),{Custom Rate}) I tried creating the following formula to correct for the situation above, esse
Hello, I am not a specialist in formulas and especially in IF formulas. I have a description column and I would like it to be filled with the content of my product description column fr when language fr (single selection) is selected, same for EN Thank you Mélissa
Hello there I’d like to create the hash (md5, sha-1, whatever) or a concatenation of two text fields in an Airtable table. I have absolutely no idea how to do that - while in Google script it’s super easy… Does anyone have an idea please? Thanks! Best
So im building a base for my trucking company. I am the owner as well as driver, I also have three owner/operators who are paid by percentage of the load gross. Im stumped on how to take myself out of those calculations - I need to track the money that I make but there are no deductions or percentages taken out of my money as im the boss :slightly_smiling_face: Also how to make a deduction automatic but it would come out of the weekly settlement for the driver, not each load. Thanks - Dale Clarke
Hello! I’m new to Formulas on. Airtable and would love some assistance. I have tried to figure this out through reading the channel and articles and watching videos. I haven’t found the right resource to help me so I’m hoping one of you can. I already have my NPS calculation on the bottom. I want to use the NPS formula and break it down by quarter and year. I already have a quarter and fiscal year conversion. I have tried multiple formulas and nothing seems to be working to add that into my NPS formula. Thank you!
I’m not sure this is possible. I’m trying to multiply the amount of an item by a range with an attached percentage. For example, if the fuel price is $5.00 then the range is $5.00 - $5.25 and the percentage is 2%. Then multiply the Freight Amount by the corresponding percentage of 2%. So in this scenario, Freight Amount is $100, Fuel Price is $5 so I would add 2% to the freight price for a fuel surcharge. I have Freight Amount Column, Fuel Price Column, Start Price, End Price and Percentage Columns Any ideas or work arounds would be appreciated. Thanks!
I frequently use the formula IF((FIND)) formula to create indicator columns with 1s and 0s or emojis. In my latest project, however, it has not been working out as I want: The above is a screenshot of a Grid View of form results. The field “BACKEND_Expertise Category Prefix” is a lookup field that shows the subject area codes of subject areas that our respondents selected from a Linked Record question. For example in the fifth row, you see “SB, SB, SB, SS, SH”; that’s because the respondent selected the options for “Early Childhood education;” “Out-of school learning;” and “Parent Teacher Involvement;” which are all coded “SB” (which in our taxonomy system, means they fall under Education). I then created dummy variables/fields using the formula field type to spit out 1 or 0. IF( FIND(“SB”, {BACKEND_Expertise Category Prefix (from Subject Area Expertise)}), 1, 0 ) = so that all records that have “SB” in the lookup field will get a “1” in the column “Education”, and then I can sum up
Hello everybody! Inside my base we have 10-digit codes for each of our users for passwords and such. I was wondering if I could somehow use a formula field to only show a select few digits of that code. Similar to a phone number when they send you a confirmation text you can only see the last four. Thanks!
Hello community! I have the below if statement that needs revising. The issue is that the formula assumes zero when DeStaging Date is blank, when in fact, I want to see the result from the rest of the formula to popup on my Google Calendar. What should I add? IF({DeStaging Date}<{Monthly Rental Fee Renewal Date},“No renewal charge”,CONCATENATE(DATETIME_FORMAT({Monthly Rental Fee Renewal Date},‘MM-DD-YY’)," | “,{Client Name},” | ",“Rental Fee Renewal Date”))
Hiii So I am trying to track checks and employees. I have an “Employees” table and I have a separate “Checks” table. They are linked. I was able to do a rollup for each employee to get the total amount they received no problem. My issue is I want my rollup to only show me the checks they received in 2021. I see a lot of the forums talking about SWITCH and IF stuff. But what I want is different. I want the formula to look at my dates, see which ones contain the year 2021, and then spit out the check amount so I can then do a rollup on each individual year. This may be way too complicated and I would love a better answer. But ideally, I want to be able to look at how much each employee made by year in the employee table and not just in the checks table. But as each check is individually added, it would need to add up all the checks of that year from the checks table.
I have created a base for my companies therapists. I want our front desk to be able to filter the data to match clients up with therapists. I’m stumped on how to add the age ranges, as they vary greatly. Some therapists see ages 3-10, others 18+, or 25-40, etc. What I’m wanting is to be able to enter the clients age, 32 for example, and be able to filter out therapists that don’t work with that age. plz help
Dear beloved friend, Could any one help telling the formula to count unique value or text among the duplicate in airtable? Thanks in advance and regard,
Hello there! I am brand new to Airtable formulas and was hoping to get some help. I’m attempting to calculate NPS just for this calendar year of 2022. I was able to calculate the NPS for all of my results but when I try to modify it to add in just for the year 2022 as an If/Then statement it doesn’t work. Here is what I have been attempting to use. Thank you so much for your help! IF( Date}=2022 ) THEN( {NPS Score}=BLANK(),BLANK(), IF({NPS Score} < 7,-100, IF({NPS Score} > 8,100, 0)))
I am storing MAC addresses and we scan a bar code and in inputs the MAC address. The only thing with this is they don’t have the ‘-’. Is it possible to format it to have the - between every 2 characters? Also do I need to have 2 fields for this? The first being the scanned MAC address and the second being a formula? Or can I have a formula and input text then it formats it within the same field? Either way will work.
Currently I have a field that contains multiple products separated by commas. Is there a way to “find” all commas and “replace” them with the “/n” line break? I would like the product field which currently looks like this “product1, product2, product3, product4” to appear in the field as product1 product2 product3 product4 Is there a way to do this?
I wanted to assign a delivery timeslot to an order based on the order created time. Example, if a customer places and order after 8pm and before 12midnight, the schedule delivery will be between 8am to 11am the next day. I tried using IS_AFTER and IS_BEFORE in an IF-AND formula but it is showing a blank result. NEED HELP BADLY. Thanks
Hello! I am trying to create a formula to help track tenure and extension dates for personnel. Each person has a “start date” – I want to have formula fields that calculate quarterly extensions +12 months; +15 months; +18 months Here is the formula I entered: DATEADD({Start Date},+12,‘months’) but I am getting an error
Hello, I have two fields with two different formulas: Field 1:DATEADD({Date morning Start},{Number of days},‘d’) Field 2: DATEADD({Date am Start},‘4’,‘hours’) I would like to have only one field grouping these two formulas Also, I have a third formula field but the formula doesn’t work on either the date or the time: If({field date}, 09:00, ‘true’, ‘false’) Thank you for your answer
From my screen shot below, you can see I have the column Company. In this column it has duplicated values, so I was wondering if there was a way for it to only display once using a formula in a new column? e.g. in the count column to only show The good company once. Also would be great if this process is automated, as I am using integromat to keep insert new records.
I’m currently working on a base to track our inbound containers. We’ve had a simple one for a while where we will update the movement of our shipping containers, and then manually update the ETA, based mostly off guesswork. I’m looking to automate the ETA updates, based off when a container was last seen and where it was last seen, using the average number of days it takes to get from place to place. For some context: we have 5 different shipping routes spread across 3 different warehouses. These all have a different number of steps to get through before they reach our warehouse. The way I’ve designed it thus far (with the help of someone in a forum, thank you!), is to have the following tabs: Containers ETA Calculation Paths (Routes) The container tab has generic information about the containers we need to track. I have it linked to the Path tab to show which Port it will need to go through. I also have a “Last Activity” as a date field and “Last Known Movement” as a single field drop
This is not actually the context of what I’ll be using this for but rather than explaining what we do, I figure it’d be better to compare it to the old math question which is… If I have someone that has 5 shirts, 5 pairs of pants, and 5 pairs of shoes we need to cleanly display all the options and print them into different fields. I’m wondering if this is doable, if so, what would my setup need to look like assuming the columns I’d start with in this example would be shirts, pants, and shoes? Thanks in advance!
I have a table which has a Payout Month Column, which is a formula: DATETIME_FORMAT({Check-in date}, 'MMMM') How can I add the month number in front of the Month word (ie: 1 Jan)?
Hello all, I’m trying to figure it out for weeks to solve this problem. Base A : I want to get address data (zip code) + buying rate from this base Base B : I want to get address data (zip code) + selling rate from this base Base C: When I write that specific address/zip code and it matches with the address in Base A and Base B, I want to see buying rate and selling rate in separate columns automatically. So it is like; zip code base A + zip code base B = buying rate base A + selling rate base B in base C That would be great if you could help me to solve this issue because I’m about to lose my mind :slightly_smiling_face: What is the right way to do it? Is it by a formula? Is it by something else? Please help me. Thank you.
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.