+ Reply to Thread
Results 1 to 3 of 3

Using Sumproduct in place of CountIf

  1. #1
    Registered User
    Join Date
    11-25-2015
    Location
    Minneapolis, MN
    MS-Off Ver
    2013
    Posts
    47

    Using Sumproduct in place of CountIf

    Hi! I have tried looking for a similar discussion on using Sumproduct in place of countif, but I can't find anything as simple as what I need! My countif function (yes, singular, countif!) just needs to count how many times a certain value comes up in this one column in an external workbook. Yesterday I learned the hard way that the IF stuff doesn't work if the external workbook is closed - BOO! - so, I need help!! I have tried reading up on how to use sumproduct and the information is just not getting through to my tiny brain. Can anyone help me?
    Last edited by lbickford; 05-10-2017 at 03:42 PM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Using Sumproduct in place of CountIf

    Try

    =SUMPRODUCT(--('\home\name\Excel\[Linker.xlsx]Sheet1'!$A$1:$A$12="A"))

    Where "A" is your criteria. Of course, substitute your path.

    It's easiest to set up the formulas with both workbooks open, then save the other book and the path will come up automatically.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-25-2015
    Location
    Minneapolis, MN
    MS-Off Ver
    2013
    Posts
    47

    Re: Using Sumproduct in place of CountIf

    PERFECT. Thank you so much ChemistB!!!

+ 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] Countif Function and place results in one cell.
    By thedunna in forum Excel General
    Replies: 3
    Last Post: 01-06-2017, 03:50 PM
  2. [SOLVED] Need a Macro in place of Formula (SUMPRODUCT)
    By seenai in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2016, 01:13 AM
  3. if with sumproduct or countif or Something else???
    By tboans in forum Excel General
    Replies: 2
    Last Post: 04-12-2012, 10:42 AM
  4. How to use COUNTIF or SUMPRODUCT?
    By kazphilips in forum Excel General
    Replies: 3
    Last Post: 11-18-2011, 04:18 PM
  5. [SOLVED] sumproduct vs. countif
    By Coal Miner in forum Excel General
    Replies: 1
    Last Post: 06-15-2006, 04:34 PM
  6. [SOLVED] SumProduct or CountIf
    By Roger Govier in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] SumProduct or CountIf
    By Kim in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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