I'm trying to find the formula for column "C" in order to obtain this:
| A | B | C | |
|---|---|---|---|
| 1 | blue | flower | blue |
| 2 | water | blue | |
| 3 | sky | blue | |
| 4 | green | grass | green |
| 5 | frog | green | |
| 6 | yellow | lemon | yellow |
| 7 | sun | yellow |
I've tried with INDEX and MATCH but I haven't found yet the way to go.
Bonus: a unique formula with ARRAYFORMULA would be very nice for my use case.