I have modified the pivot table for 1st, 2nd and 4th columns.