How To Calculate Batch Formula