N.Y. Comp. Codes R. & Regs. tit. 20, § 19-7.1
Tax Law, § 1454
The percentage of the taxpayer's deposits allocated to New York State is determined by dividing the average value of deposits maintained at branches of the taxpayer within New York State, during the period the taxpayer is entitled to allocate, by the average value of all deposits maintained at branches of the taxpayer both within and without New York State during the period the taxpayer is entitled to allocate.