I will try to make it clear, sorry about the confusion.
If I have this array (emplyee salarry) for one month
['Employee Name', 'Salarry 1st month'], ['Mike', 18,500],['Bob', 35000],['Alice', 44000], ['Fritz', 18500]
I can get this
['Employee Name', 'Salarry 1st month'],
['Mike', 18,500],
['Bob', 35000],
['Alice', 44000],
['Fritz', 18500]], false);
but if I have two arrays (emplyee salarry) of two differnt months
['Employee Name', 'Salarry 1st month ', 'Salarry 21 month '],
['Mike', 18,500], ['Mike', 18,500],
['Bob', 35,000,], ['Bob', 44,000],
['Alice', 44,000,], ['Alice', 60,000],
['Fritz', 18500,], ['Fritz', 35,000]
['Employee Name', 'Salarry 1st month ', 'Salarry 21 month '],
['Mike', 18,500, 25,000],
['Bob', 35,000, 44,000],
['Alice', 44,000, 60,000],
['Fritz', 18500, 30,000]], false);
Hope this is much clear.
Thanks!