Oct 30, 2019 04:12 AM
Hi All,
Is there an available formula where I can see if I have a repetition of an item in the same field(column)?
Thanks,
T
Oct 30, 2019 02:36 PM
I think you’re trying to find duplicates, maybe you can read other threads: https://community.airtable.com/search?q=duplicates
Oct 30, 2019 03:06 PM
Hi Elias,
I have various different values in one cell and I want to know if any of those same values exist on another cell on the same field. Not a duplicate though.
Best,
T
Oct 30, 2019 04:40 PM
Multiple values in one cell? I think you’re going to try and explain better what you have.
Oct 30, 2019 05:13 PM
I think he has a multivalue field, like MultiSelect or LinkedRecord. I see it as a hard task (but maybe a hack-ish method exist), what are you trying to achieve? Maybe there is a better way.
Oct 30, 2019 05:42 PM
Basically is a film equipment booking base, for every shoot there’s various kit that gets booked and I wanted to flag if the same kit gets booked for the same date.
Oct 30, 2019 11:51 PM
Take 5 or 10 minutes to better explain what you’re talking about.
Oct 31, 2019 03:03 AM
Sure, I work in a production company and we have various amounts of camera and lighting kit. That kit gets booked for location shoots almost on a daily basis, all the Kit is up on airtable as single items.
The main fields are the Kit, date, and project code.
In the kit column each cell is filled out with various codes that correspond to kit items.
The date column is the date of the shoot, it’s very common to have various shoots in the same date.
The project code is unique.
What I want is for airtable to flag when the exact same items of kit are booked in the same day so then when can find an alternative.
Hope this explains everything better.
Cheers,
T
Oct 31, 2019 05:57 AM
To create an algorithm to accommodate a process like this, we need to get on the same page concerning the vernacular. At the outset, allow me to state a few obvious things that will surely lead to clarification from @Tiago_Melo.
Assuming these are accurate definitions of the data, we can move on to rules.
Assuming these are the rules (and there are no others), it’s time to move into the data modeling phase.
I’m not an expert when it comes to relational modeling in Airtable, but your data model seems woefully inadequate to handle the rules and relationships stated above.
I defer to some real Airtable data modeling brainiacs like @Justin_Barrett, and @JonathanBowen to lend a hand, but here are my basic observations.
Note that nowhere in this data model do I suggest that Items should be manually listed for any given location shoot. Items are a function of a Kit, therefore, the system need only list the Kit(s) needed for the shoot.
As you can see, we’re building to a point where we have all the parts needed to make it possible for us to understand if over-booking has occurred. What isn’t so obvious is where or how one might apply the perfect formula for flagging overbooking of any specific Item.
It may not be possible to use a formula to achieve this despite the suggested data model changes. My hunch is it will likely be a special View with some intricate filtering or perhaps an entirely different table that lists booking issues.
In my view, a better approach is to design a system that avoids the need to flag for overbooking altogether which may be difficult - Airtable has some missing features needed for real-time evaluations but maybe someone has a clever trick for instantiating a flag field with a green or red dot.
Sorry I don’t have a simple solution for ya, but hopefully this requirements narrative will nudge a good idea onto the stack. :winking_face:
Oct 31, 2019 09:59 AM
This certainly sounds like an interesting problem to solve, but I’m not able to put time toward data modeling experiments for the next month. Sorry.