Procter & Gamble said Tuesday it would record up to $2.5 billion in charges over two fiscal years as it writes down the value of its Gillette business and restructures certain markets.