We help IT Professionals succeed at work.

sumtotal

need help speeding up the subtotals in this spreadsheet. i think it takes 8-24 hours ! maybe VBA would do better?
Comment
Watch Question

It might, but we're going to need more information. Can you post the workbook?

Author

Commented:
thx. attached
Book13.xlsx
Distinguished Expert 2019

Commented:
Sum/Average/Count is almost instananeous on my computer

Author

Commented:
i need SUBTOTAL. ... i am counting the number of instances of each value
Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015
Commented:
If you need to count the instances of each value, why not just use pivot table? Pls refer to the attached.

BTW you don't have the proper data set, there are blanks, numbers and the string in the column.
Count.xlsx

Author

Commented:
nice! how did you set up this pivot table when creating it?
Subodh Tiwari (Neeraj)Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015

Commented:
Here are the steps...

1) First insert a new row and place a header in there.

2) Select any cell in column A and go to Insert Tab and click on Pivot Table.

3) Choose the destination for the Pivot Table, by default New Worksheet radio button would be selected, you can go with that also otherwise choose Existing Worksheet, click inside the Location box and choose the destination cell on the sheet and click OK.

4) Now from the Field List which would appear on the right side, click the Header you just created and drag it down into the Rows area and click the same header and drag it down again but this time into the Values area.

That's it.

Hope it helps.