+ Reply to Thread
Results 1 to 3 of 3

SUM COUNTIFS across columns within a table and across tables...

  1. #1
    Registered User
    Join Date
    03-22-2015
    Location
    Seattle
    MS-Off Ver
    2013
    Posts
    0

    SUM COUNTIFS across columns within a table and across tables...

    Currently the following works for 3 columns in one table. I've been trying to optimize this so it is not so repetitive but keep running into errors. I also want to apply this to multiple tables named Game1:Game8.

    =IFERROR(SUM(COUNTIFS(Game1[Bat Order:],[Name],Game1[1st Inn.],"P"),COUNTIFS(Game1[Bat Order:],[Name],Game1[2nd Inn.],"P"),COUNTIFS(Game1[Bat Order:],[Name],Game1[3rd Inn.],"P")),"")

    Any suggestions would be most appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello scottmail,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-22-2015
    Location
    Seattle
    MS-Off Ver
    2013
    Posts
    0

    Re: SUM COUNTIFS across columns within a table and across tables...

    Note I am trying to due this calculation on the Roster worksheet. Essentially I would like to calculate how many times each player may be playing a particular position in the field (since it will change each inning and each game). I want to make sure the rotation is balanced. Thanks again for anyone's help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 11-05-2014, 10:39 AM
  2. Compare columns from different tables, copy the missing value to another table
    By laalaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 04:26 AM
  3. doing CountIFs off of a pivot tables data
    By crayvision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-27-2014, 02:40 AM
  4. Countifs Multiple Named Tables
    By Kn0wn1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2014, 11:30 AM
  5. How do you Combine specific columns from 3 tables into new column of new table
    By R.Taylor.B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-30-2012, 02:21 PM

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