Editable If.. Is it possible to set and edit...

Editable Ifโ€ฆ

Is it possible to set and editable if condition on a column that has an app formula? If not any work around? Thanks

0 8 1,744
8 REPLIES 8

Whatโ€™s your goal?

Its a tour package booking system. The agent selects a โ€œpackage codeโ€ in one column, and the column which has the app formula looks up the price.

If the package is a customized package instead of a standard โ€œmappedโ€ package, the price needs to modified manually.

@Emma_Nixon got yaโ€ฆ You need another column for manual entry in the mixโ€ฆ One column to select the package, if itโ€™s custom then show if the manual price column and hide the calculatedโ€ฆ But no matter what the calculated column does some fancy IF or Switchโ€ฆ If custom then manual column, if package then lookup price.

Why donโ€™t you use initial value with the formula? Then you can use Editable_If.

@Aleksi_Alkio Ok let me try thatโ€ฆ

That worked thanks. I didnt realize you can have expressions in initial value.

can you give example " Editable_if" logic ?

Editable only if adding a new row (disallow updates):

NOT(IN([Row Key], Table[Row Key]))

Editable only on Mondays:

(WEEKDAY(TODAY()) = 2)

Editable only during business hours:

AND(
  (TIMENW() >= "08:00:00"),
  (TIMENOW() < "18:00:00")
)

Editable only by designated app admins

("Admin" = USERROLE())

Editable only by specific users:

IN(USEREMAIL(), LIST("joe@example.biz", "mary@example.biz"))

Iโ€™ve also added examples to the doc:

Top Labels in this Space