Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

Runs the procedure when a change in cell values ​​occurs

welcome everybody
I have two tables
The first table (reservations table) includes the following cells: a, b, c, d
cell a is the reference,

The second table (execution section) includes the following cells:
a,b,c,d,e,f
cell a is the reference in the reservations table,

There is a procedure that copies cells (a,b,c,d) in the reservations table to the execution table.
I want to set a condition for this procedure so that it only works if there is a change in the copied cell values

Solved Solved
0 10 461
1 ACCEPTED SOLUTION

It seems possible that you might be able to streamline your data structure by referencing Bookings data in the Implementation table rather than copying data or by updating existing rows in the Implementation table rather than creating new rows.

Given your current data structure, here's one brute force approach to illustrate how you could accomplish what you need. There might be more elegant techniques. Here's a draft expression for the action's condition.

OR(
  [Situation] = "new", 
  MAXROW(
    "Implementation",
    "_RowNumber",
    [Booking Id] = [_THISROW].[ID]
  ) <>
  MAXROW(
    "Implementation",
    "_RowNumber",
    AND(
      [Booking Id] = [_THISROW].[ID],
      [Number] = [_THISROW].[Number],
      [Hotel] = [_THISROW].[Hotel]
    )
  )
)

View solution in original post

10 REPLIES 10
Top Labels in this Space