galvanic cells are spontaneous; therefore have a neg. delta G and a pos. E cell. to find the EMF, subtract the smaller reduction potential from the larger one to ensure that you end up with a positive E cell.
electrolytic cells are non-spontaneous; therefore, have a pos. delta D and a neg. E cell. to find the EMF, subtract the larger reduction potential from the smaller one to ensure that you end up with a positive E cell.
some other information... oxidation (loss of electrons) always occurs at the anode and reduction (gain of electrons) always occurs at the cathode. however, electrons flow from anode to cathode in a galvanic cell and in the opposite direction in electrolytic cells.
hope that helps. jB!🙂