I have two tables related by slot number called slot range and slot details.
Slot range contains unique slot numbers with minimum range and maximum range columns.
Slot details contains multiple slot numbers with total column
I want a calculated column in slot details to indicate if a slot's total is within its minimum and maximum range.
I have tried the following and have found that AND can have only two arguments. I have tried different combination of concatenating using && to no avail.
=IF(AND(VALUES(Details[Slot])=VALUES(Range[Slot]),VALUES(Details[Total])>=VALUES(Range[Min]),VALUES(Details[Total])<=VALUES(Range[Max])),"yes","no").
A solution to my problem or a nudge in the right direction would be very much appreciated.
Slot range contains unique slot numbers with minimum range and maximum range columns.
Slot details contains multiple slot numbers with total column
I want a calculated column in slot details to indicate if a slot's total is within its minimum and maximum range.
I have tried the following and have found that AND can have only two arguments. I have tried different combination of concatenating using && to no avail.
=IF(AND(VALUES(Details[Slot])=VALUES(Range[Slot]),VALUES(Details[Total])>=VALUES(Range[Min]),VALUES(Details[Total])<=VALUES(Range[Max])),"yes","no").
A solution to my problem or a nudge in the right direction would be very much appreciated.