I am working on a project at work where we pull apart the titles of products into individual keywords. From there we put a count on how many times that keyword was put under a specific category. The problem that I have is that there are titles that get up to 55 words. Each title is spread across a row and only one word per cell on that row. This requires me to create 55 different countifs formulas and add them together.
My question is, is there a way to do this that requires less processing time? I am doing this for thousands of cells and when I finish this spreadsheet it will end up taking about 30-40 minutes to process. I've tried a macro as well but it is too much for excel to handle.
I've attached some dummy data that include my actual formula. I only put the formula through one line so it wouldn't take forever to calculate.
Just so you can see what I am working with here is the formula
=COUNTIFS('1 Word Title Dump'!$E:$E,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$F:$F,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$G:$G,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$H:$H,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$I:$I,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$J:$J,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$K:$K,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$L:$L,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$M:$M,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$N:$N,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$O:$O,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$P:$P,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$Q:$Q,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$R:$R,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$S:$S,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$T:$T,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$U:$U,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$V:$V,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$W:$W,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$X:$X,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$Y:$Y,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$Z:$Z,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AA:$AA,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AB:$AB,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AC:$AC,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AD:$AD,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AE:$AE,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AF:$AF,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AG:$AG,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AH:$AH,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AI:$AI,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AJ:$AJ,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AK:$AK,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AL:$AL,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AM:$AM,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AN:$AN,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AO:$AO,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AP:$AP,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AQ:$AQ,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AR:$AR,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AS:$AS,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AT:$AT,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AU:$AU,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AV:$AV,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AW:$AW,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AX:$AX,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AY:$AY,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$AZ:$AZ,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BA:$BA,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BB:$BB,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BC:$BC,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BD:$BD,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BE:$BE,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)+COUNTIFS('1 Word Title Dump'!$BF:$BF,'Unique 1 Word List'!$A2,'1 Word Title Dump'!$B:$B,'Unique 1 Word List'!B$1)
Any suggestion would be useful.
Sorry. I forgot to add the dummy data. Here it is
DummyData.xlsx
Bookmarks