In this thread I got the correct answer, but when I delete the values in columns B and C there are no results
Here is the google sheets formula
=INDEX(IFERROR(SPLIT(FLATTEN(FLATTEN(
FILTER(A2:A; A2:A<>"")&"×"&TRANSPOSE(
FILTER(B2:B; B2:B<>"")))&"×"&TRANSPOSE(
FILTER(C2:C; C2:C<>""))), "×"))
INPUT
| A | B | C |
|---|---|---|
| car | red | AA |
| train | yellow | BB |
| blue | CC | |
| DD |
OUPUT
I want when I delete the values in B and C to have the result like below.
| A |
|---|
| car |
| train |
If I just delete the result in column C, I get the result with 6 rows like below.
| A | B |
|---|---|
| car | red |
| car | yellow |
| car | blue |
| train | red |
| train | yellow |
| train | blue |



