Skip to main content
Question

Convert Multi Select Text to Duration

  • June 16, 2022
  • 0 replies
  • 53 views

Forum|alt.badge.img+6
Hi All,
I have a multiple choice text field with the below options for users:
15 min
30 min
45 min
60 min
90 min

What function can I use to obtain a Duration Value that corresponds with the user selection?  I need to be able to determine things like averages and totals using the duration value.

Thanks in advance


------------------------------
Troy MacPherson
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • June 16, 2022
I personally prefer to have numeric fields for the units in minutes

For a numeric field type you can create a new formula numeric of 

ToNumber(Left([multiple choice text], " "))

If you want to have a formula duration field type then it would be 

Minutes(ToNumber(Left([multiple choice text], " ")))

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------