I have 2 datafields, room type (single room & double room) and guests (1 to 2 names)
if in singleroom and the guest (the volume is 1) should say "occupied" in the formulafield and
if in room type (double room) it says and guest (the volume 2) then “Occupied” should also appear in the formula field
MyCode:
IF(AND(room type = "double room", {client overview} = VALUE(2), room type = "single room", {client overview} = VALUE(1)), "occupied")