Forum Discussion
JohannaEvans
7 years agoQrew Trainee
I have a list of multi text selections that have about 25 items.
When I summarize the fields, a table displays the selections by grouping:
Item 1 = 1
Item 1, 5 = 1
Item 1, 3 = 1
This is not what I am looking for, therefore, I thought I could write a formula that recognized the group rather than the grouping.
Item 1 = 3
Item 3 = 1
Item 5 = 1
- QuickBaseCoachD7 years agoQrew CaptainI realized that this is simpler than i thought
Try this
var text Selections = ToText([My Multi select field]);
var text SearchTerm = "PC 1.0 Readmission rate";
IF(Contains($Selections, $SearchTerm),1,0)
Then if that works OK, just copy the field 24 times and replace the formula variable for the SearchTerm. - QuickBaseCoachD7 years agoQrew CaptainAre you trying to make 25 fields each to hold the count of a 1 if the multi select contains the nth choice and a 0 otherwise?
- JohannaEvans7 years agoQrew TraineeYes - of the 25 rows I want a count of how often item 1 is selected (in the example is 3), rather than item 1, then item 1 and 3 counted as a grouping, and item 1 and 5 as a grouping.
- QuickBaseCoachD7 years agoQrew CaptainAre you willing to make 25 formula fields if I help you with the first one?
- JohannaEvans7 years agoQrew TraineeSure will
- JohannaEvans7 years agoQrew TraineeThe formula is not recognizing my multi text field. I changed the formula to textlist but that is not working either.
- QuickBaseCoachD7 years agoQrew CaptainDon't worry about the yellow warning. It's a false warning. Does the formula save OK?
- JohannaEvans7 years agoQrew TraineeThank you for the support. I will try a few other things.
- JohannaEvans7 years agoQrew Traineeoh! Sorry it is not saving I am getting a formula syntax error
- QuickBaseCoachD7 years agoQrew CaptainPlease post your formula and the error. I can't see your screen from here. :)