To draw maximum current from a combination of cells, external resistance R=mnr , where n,m&r represents number of row, number of columns and internal resistance respectively. Therefore, grouping of cells depends upon the relative values of internal and external resistance.