• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need alternative to ~13,00,000 countifs formulas

Hi All,

I have macro that is adding countifs formula across 450 columns and 3000 rows. Being around 13,00,000 formulas, it's taking too much time(I do not know how much it's taking since I interrupted it in between). Any alternative in vba to accomplish this work.
I am attaching spreadsheet with few data, macro and result.
 

Attachments

  • CountIFS.xlsm
    21 KB · Views: 3
2 considerations

Firstly the way the code is written it copies PartData, Column B and uses it as a Header in Main
But there are duplicate Test values in column B, hence replication of formula that are already there ?

Have you considered using a Pivot Table
It filters and Counts automagically and handles larger data sets better than formula

upload_2017-12-20_14-33-39.png
 
Back
Top