Depending on the cell type. replacement of all cells may very well be warranted. For many configurations, the cells are sealed and the only way to examine the internals for damage would be through destructive testing. Do you know the cell type/chemistry (VRLA, Li-ion, etc)?