Group analysis - adding to customer records

SUGGESTED

I have just started setting  group analysis codes- eg commercial or domestic...

Is there a way to add this to customer records on a bulk basis? or do I have to go to every customer record individually to change it?