It outputs the number including the spaces which is basically what I want, but I feel this is a rather bad way of doing this haha...As said the problem with this method for me came in getting the empty column entries as zero/NaN..I could not find something else than cellfun to get the 'isempty' spots...