May be, to have it done for all at once - use pivot table? just remember to have a header(s) above your data.