Combine values of array by same two columns data

Certified Senior Developer

Hi all

I need one suggestion please let me know if anyone have an idea

Question: I had data in array ex:






I need to combine the value when id and idTwo are same

Expected Output:





Thanks In Advance

  Discussion posts and replies are publicly visible