in reply to Add category values

That's really more of an excel question than a perl question. You will probably find this helpful.