+ Reply to Thread
Results 1 to 7 of 7

Count Occurrences using multiple criteria

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    Nashville, Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    5

    Count Occurrences using multiple criteria

    Hello,

    I am doing a market report for real estate. I have attached a file for reference. I am trying to track the Active Listings within a given time period and within a specific zip code. Unfortunately my local MLS does not track historical data on Active Listings, and therefore I have to use the Listing Date and the date it no longer went active to determine which listings were active in a given time period. Some of the listings are still active and therefore do not have a "No Longer Active" date. These listings will need to be counted as well. I would really appreciate any suggestions.



    MLS Active by Zip.xlsx
    Last edited by Rbooth; 02-25-2014 at 09:13 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Count Occurrences using multiple criteria

    Hi,

    The formula I have used this time is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The first SUMPRODUCT counts the number of listings that are no longer active and that were active during the period specified in the relevant zip code, and the second SUMPRODUCT counts the number of listings that are still active and were active during the period specified in the relevant zip code. The named range MonthNames is the range O4:O15 where you had discreetly specified the month names for the drop-down boxes B2 and B3 of the Report worksheet :P

    I hope this is what you are looking for again

  3. #3
    Registered User
    Join Date
    05-27-2013
    Location
    Nashville, Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Count Occurrences using multiple criteria

    Wow.... Thats it! Thank you once again. Do you have any recommendations for tutorials on SUMPRODUCT? I really appreciate all your help.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count Occurrences using multiple criteria

    Quote Originally Posted by Rbooth View Post
    Do you have any recommendations for tutorials on SUMPRODUCT?
    Here ya go:

    http://xldynamic.com/source/xld.SUMPRODUCT.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Count Occurrences using multiple criteria

    No problems!

    Umm, probably just keep reading forums like this one, and the Office Help can also be of use, but doesn't go into using SUMPRODUCT for arrays such as what I've done here, but it still isn't a bad place to start. You'll find that you will pick it up pretty quickly once you start using it more and more often.

    I started my current job 2 years ago, with minimal knowledge of Excel and absolutely no knowledge of VBA, and now I'm the office go-to guy for all things Excel and VBA. I learnt what I know now simply by reading forums to pick up hints and tricks, and then by applying those tricks over and over again until they stuck, and I've even developed a few of my own little tricks as a result.

    Anywhoo, I hope this helps you learn what you want to learn

    Please don't forget to mark this thread as solved, and please click on the * next to my post to say thanks

  6. #6
    Registered User
    Join Date
    05-27-2013
    Location
    Nashville, Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Count Occurrences using multiple criteria

    Quote Originally Posted by Tony Valko View Post
    Thank You!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count Occurrences using multiple criteria

    You're welcome!

+ 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. Count occurrences, from last 10 which meet criteria
    By mikka23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-22-2013, 09:32 PM
  2. Count multiple occurrences when multiple criteria is met
    By e2thecaves in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2013, 06:00 PM
  3. Count occurrences of text with various criteria
    By ludgirardi in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-20-2012, 05:31 AM
  4. Count of occurrences until a criteria met
    By dazlan in forum Excel General
    Replies: 0
    Last Post: 02-12-2011, 09:27 AM
  5. trying to COUNT occurrences when certain criteria is met
    By Allan from Melbourne in forum Excel General
    Replies: 4
    Last Post: 08-02-2006, 06:05 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