0

as the graph I hope I could get the result like red line, just use formula in one row I try everything I could think of, but it all doesn't work

https://i.sstatic.net/r7M2S.jpg

0

1 Answer 1

2

use:

=ARRAYFORMULA(SPLIT(FLATTEN(QUERY(TRANSPOSE(QUERY(QUERY(
 UNIQUE({A2:B, B2:B}), 
 "select Col1,max(Col2) 
  where Col1 is not null 
  group by Col1 
  pivot Col3"), 
 "offset 1", 0)),,9^9)), " "))

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.