Hi,
I want to return all products from a column in a table where the colour is not Red or Blue.
The table name is in cell D1. I tried the below but couldn’t get it to work for two or more colours.
=FILTER(INDIRECT($D$1&"[Product]"),INDIRECT($D$1&"[Colour]")<>{"Red","Blue"},"")
So for the below, I would like to return Bus and Truck.
Thanks
John
I want to return all products from a column in a table where the colour is not Red or Blue.
The table name is in cell D1. I tried the below but couldn’t get it to work for two or more colours.
=FILTER(INDIRECT($D$1&"[Product]"),INDIRECT($D$1&"[Colour]")<>{"Red","Blue"},"")
So for the below, I would like to return Bus and Truck.
Product | Colour |
Bike | Red |
Car | Blue |
Bus | Yellow |
Cycle | Blue |
Skateboard | Red |
Truck | Green |
Thanks
John