+ Reply to Thread
Results 1 to 1 of 1

Dynamically Use Countifs or Sumproduct

  1. #1
    Registered User
    Join Date
    06-27-2016
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    1

    Dynamically Use Countifs or Sumproduct

    Both the Target and Lookup Files have the same fields "Name" (C column) and "Dates" (Date1, Date2, etc) (D, E, ... Columns)
    The goal is to count the number of instances of "P"

    Either of the formulae work:

    =COUNTIFS('[Lookup File.xslx]June'!$B$3:$B$112,C33,'[Lookup File.xlsx]June'!$D$3:$D$112,"P")
    =SUMPRODUCT(('[Lookup File.xslx]June'!$B$3:$B$112=$C33)*('[Lookup File.xslx]June'!E$3:E$112="P"))

    However, it needs to be dynamic enough that the second range would depend on the value of the Date (e.g June 1, June 2, etc). This is important because the Lookup File doesn't have the same number of dates as that of the Source File.
    Last edited by jeffbaranda; 06-28-2016 at 08:33 AM.

+ 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. [SOLVED] Sumproduct + countifs
    By toci in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 03-27-2016, 04:09 PM
  2. [SOLVED] CountIfS and SUMPRODUCT need help
    By rschoenb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2014, 11:21 PM
  3. [SOLVED] Sumproduct/countifs
    By mahat in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-21-2014, 10:30 PM
  4. COUNTIFS and SUMPRODUCT help
    By Stacy1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2013, 02:35 PM
  5. [SOLVED] COUNTIF vs COUNTIFS vs SUMPRODUCT
    By FASTiger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2013, 01:44 AM
  6. [SOLVED] Sumproduct as Countifs issue
    By jake.masters in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2012, 10:49 AM
  7. Using SUMPRODUCT instead of COUNTIFS
    By SymphonyTomorrow in forum Excel General
    Replies: 12
    Last Post: 11-18-2011, 05:01 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