dosing calculation for potable water

Hi All   Can anyone share an excel spreadsheet for estimating the amount of acid/caustic required to effect a unit change in pH of potable water from SWRO desalination plants.  Please note the finished water is not like river or well water wherein there is natural mix of minerals.  The desal plants mostly will have hardness, few Na & other ions.