Jan 19, 2024 05:10 AM - edited Jan 19, 2024 05:11 AM
Hi I really need help for this and I have a deadline. So basically, I was wondering if there's a way that I can create a formula that add's up the number of time "🎯" is used across all fields and shows the result as a number in the "🎯s Used" field.
. For example for the highlighted square, since "🎯" was only used once, it would appear as 1. But for the cell above, because "🎯" was used twice across all fields it would be entered as 2.
thanks so much! 🙂
Jan 19, 2024 11:13 AM
How to go about this depends on several factors.
Here is one possible formula.
SUM(
IF( FIND("🎯", {Field 1}), 1, 0),
IF( FIND("🎯", {Field 2}), 1, 0),
IF( FIND("🎯", {Field 3}), 1, 0),
IF( FIND("🎯", {Field 4}), 1, 0),
IF( FIND("🎯", {Field 5}), 1, 0)
)
Another consideration is that this setup of counting identical symbols across columns is much more common in spreadsheets versus databases. This setup produces "rivers of white" which can be a sign that a different database design might work better for long-term grown.
Jan 19, 2024 04:37 PM - edited Jan 19, 2024 04:37 PM
Yes, all the fields will be long text. There can be other things beside "🎯", but it will be dates written like 1/19/24. After I post, I replace the "🎯" with the date it was posted on, so "🎯" would become 1/19/24 if it was posted there today.
With that formula, I need for it to also subtract one when the "🎯" is replaced with the date. Would that do that?
Also, what different database design would you think would work better? I'm used to excel and a total beginner with airtable.