Or perhaps INT((A1+8)/16) -- Cheers, Paul B.