Apply ranges to formatted ata