I have 2 cell matrices that are set up as below;
A01/01/16, 21, 32, 4303/01/16, 22, 33, 4405/01/16, 23, 34, 45B01/01/16, 0, 0, 002/01/16, 0, 0, 003/01/16, 0, 0, 004/01/16, 0, 0, 005/01/16, 0, 0, 0
And I would like to merge them such that if the two matrices have a date in common then the corresponding row from matrix A is copied to matrix B. Whilst dates not in common are left with 0 values to make an output C;
C 01/01/16, 21, 32, 4302/01/16, 0, 0, 003/01/16, 22, 33, 4404/01/16, 0, 0, 005/01/16, 23, 34, 45
I'm not very sure how to go about doing this so any help would be greatly appreciated.
Best Answer