Results 1 to 16 of 16

Countifs through 55 columns

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-24-2014
    MS-Off Ver
    Microsoft Office 2013
    Posts
    113

    Countifs through 55 columns

    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
    Last edited by manofcheese; 04-20-2015 at 02:31 PM. Reason: Forgot Dummy Data

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SUM COUNTIFS across columns within a table and across tables...
    By scottmail in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 03-22-2015, 10:47 PM
  2. countifs - four columns
    By dulitul in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2013, 01:25 PM
  3. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  4. Using COUNTIFS with multiple columns
    By djsquare in forum Excel General
    Replies: 1
    Last Post: 06-27-2011, 01:58 PM
  5. [SOLVED] Countifs and multiple columns...
    By ajayb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2006, 10:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1