Trying to figure out furthest right column greater than 95% in a group of columns

So this is a toughie:

I have a series of columns, Score 1, Score 2, Score 3, etc. There are six of them in total. I need the expression to return the Score โ€œcolumn numberโ€ of the column highest in the hierarchy where the score falls below 95%, or โ€œ6โ€ if they are all above 95%. In other words, if all columns (1-6) were above 95%, I need to return โ€œ6โ€ from the expression, because all are above 95%. By the same token, if Score 1 is 85%, Score 2 is 97% and Score 3 is 100% and so on, I need to return โ€œ1โ€ because itโ€™s below 95%, the rest wouldnโ€™t matter. Finally, if Score 1 is 97%, Score 2 is 70% and Score 3 is 100%, and so on, it should return โ€œ2โ€. I could easily do this with a flagged loop in โ€œnormalโ€ programming, but have no idea how to approach this in appsheet. Nothing Iโ€™ve tried works correctly so far.

0 3 135
3 REPLIES 3

OK, that sounds like it will work.

Another follow-on question: I need this to update in real time, not just when a user opens a record for editingโ€ฆ I need the column to always display the latest data in the list view. The columns weโ€™re basing our computation on are in a read-only referenced table that is edited by another outside process. Is there a way to have this result in โ€œreal timeโ€, or at least upon re-sync? Or will it only update the formula when a user opens the row for editing? Thanks!

The app needs to sync in order to see any newly changed data. Virtual columns will recalculate upon every sync.

Top Labels in this Space