+ Reply to Thread
Results 1 to 3 of 3

CountIf or SumProduct Formula Problem

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    Lakewood, CO
    MS-Off Ver
    Excel 2003
    Posts
    11

    CountIf or SumProduct Formula Problem

    I'm simplifying this a little, but essentially I have a spreadsheet with application dates in column A, office codes in column B, customer PINs in column C, approval dates in column D, denial dates in column E, and # of prev apps in column F.

    Customers may apply for a process and be approved the first time, but if not, they may continue to apply as many times as they wish, so I can have multiple rows of data for the same customer.

    The # of apps cell in a corresponding record is left blank for the first app, but each subsequent app, if any, are numbered: 2, 3, 4, etc.

    I've been able to track the total number of applications coming out of each office, but I'm seeing a trend that some offices have much higher rates of first time approvals with their customers than others and believe these offices are doing a better job of assisting their customers in meeting the requirements. I want to be able to count the number of customers each office is seeing and what percentage of those were approved the first time they applied.

    I've been trying different CountIf and SumProduct formulas, but just haven't been able to figure this out. My brain is fried! Can you help? THANKS!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: CountIf or SumProduct Formula Problem

    How would you have us help you? While a description of your data obviously means something to you, there's not much that we can do with it.

    I suggest you upload a sample workbook with some typical, but anonymized, data.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: CountIf or SumProduct Formula Problem

    Quote Originally Posted by reb2u View Post
    ...I want to be able to count the number of customers each office is seeing and what percentage of those were approved the first time they applied.......Can you help?....
    To get the number of different customers for a specific office you should be able to count blanks in column F (first application) for that office so you can do that with SUMPRODUCT something like

    =SUMPRODUCT((B$2:B$1000=H2)*(F$2:F$1000=""))

    where H2 is a specific office code

    For the percentage of those approved first time, I'm assuming you can count those rows where column D has a number (a date), i.e. either

    =SUMPRODUCT((B$2:B$1000=H2)*(F$2:F$1000="")*ISNUMBER(D$2:D$1000))/SUMPRODUCT((B$2:B$1000=H2)*(F$2:F$1000=""))

    or a shorter array formula

    =AVERAGE(IF((B$2:B$1000=H2)*(F$2:F$1000=""),IF(ISNUMBER(D$2:D$1000),1,0)))

    confirmed with CTRL+SHIFT+ENTER
    Audere est facere

+ 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. Problem with sumproduct and countif
    By JORGE666 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2012, 04:52 PM
  2. Replies: 4
    Last Post: 06-25-2012, 10:16 AM
  3. problem with a countif or sumproduct formula
    By MickeyP in forum Excel General
    Replies: 1
    Last Post: 06-28-2009, 06:12 AM
  4. [SOLVED] Countif Problem would like a sumproduct solution
    By Mark McDonough in forum Excel General
    Replies: 4
    Last Post: 06-26-2006, 07:30 AM
  5. Sumproduct/countif Problem
    By andyp161 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2005, 03:11 AM

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