Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Weighted drop down

Topic Labels: Formulas
Solved
Jump to Solution
330 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Mandy_BG
4 - Data Explorer
4 - Data Explorer

Hi all,

I want to prioritise datasets in Airtable. For that I've created checkbox fields and a drop down field.
I now want to create a formular field and add there a weighted text drop down menu by giving each text option a number.

 
For the checkbox fields it's clear: If it's checked, then value1, if not, then value2:
IF(logical, value1, value2) + IF(logical, value1, value2) + 
 
But how can I add the weighted values from the drop down menu in the formular?
For example IF option1, then 3, IF option2, then 2, IF option3, then 1, otherwise 0)
IF(logical=1, 1, 0) + IF(logical=1, 3, IF({logical=2, 2))
 
In detail, this is the formular which is not working:
IF({easy to implement?}=1, 3, IF({easy to implement?}=2, 2, IF({easy to implement?}=3, 1))), 0)
nor does
IF({easy to implement?}=under 2h, 3, IF({easy to implement?}=up to 8h, 2, IF({easy to implement?}=a day, 1))), 0)
 
Do you have ideas?
Thank you!
 
1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try a SWITCH:
 

SWITCH(
  Options,
  "under 2h", 1,
  "up to 8h", 2,
  "a day", 3
)

Screenshot 2024-11-19 at 8.31.43 PM.png

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try a SWITCH:
 

SWITCH(
  Options,
  "under 2h", 1,
  "up to 8h", 2,
  "a day", 3
)

Screenshot 2024-11-19 at 8.31.43 PM.png

Thank you! This worked!