Mar 15 2022 12:41 AM
hi,
i have a table like this:
number | dog | cat | fish |
123 | ab | ||
123 | cd | ||
123 | |||
456 | jh | ||
456 | ef |
and i want result look like this?
number | dog | cat | fish |
123 | ab | cd | |
456 | jh | ef |
there is any formula?
TY
Mar 15 2022 01:02 AM
Mar 15 2022 07:28 AM
The proposed solution with PQ is actually the most elegant, but here is an additional solution with VBA if you are not familiar with PQ.
I know I don't know anything (Socrates)
Mar 15 2022 08:03 AM
I think Riny has the edge but, just to show it is possible, here is a 365 formula.
It all goes so well until you get the message that arrays of arrays are not supported. Why?
Why have two dimensions on the sheet at all if you are not allowed arrays of arrays; here one row for each distinct number?
Mar 20 2022 07:26 AM
Mar 20 2022 10:45 AM
@Eladnoam2 Power Query isn't simple, but it isn't all that difficult either. The link below is a good starting point, but you have to invest some time to learn it.