I've found postings on creating subtotals with unknown number of rows. However, I'm searching for help with vba, for a column with multiple groupings, seperated by a blank rows. once a blank row is encountered, total the quantity of the rows prior to the blank, and keep working down. i guess when it encounters multiple blanks, or perhaps a symbol, it would end that column and move on to the next column. i would also like to select the columns to be summed, since that would vary also. any help would be most appreciated. thanks