+ Reply to Thread
Results 1 to 4 of 4

Countifs, from multiple columns, within range of years

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Countifs, from multiple columns, within range of years

    I have two columns from worksheet Deals!, T and U marked with x's, I need to count each time x appears within these rows, but only in each year.

    Below formula only counts rows where x appears both time per row.

    =SUM(COUNTIFS(Deals!$T$2:$T$500,"x",Deals!$U$2:$U$500,"x", Deals!$C$2:$C$500,">=1/1/2005",Deals!$C$2:$C$500,"<=1/1/2006"))

    I continue to be baffled by the concept of arrays, which I'm sure are applicable here.

    Thanks for any help...

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Countifs, from multiple columns, within range of years

    you can use pivot table for that.

    if you post your workbook i will show it to you.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Countifs, from multiple columns, within range of years

    I'd prefer to keep it in a formula format, is it possible with one? I haven't started using pivot tables just yet...

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,811

    Re: Countifs, from multiple columns, within range of years

    Pivot tables are very powerful. Here is a link to show you how to use them. Scroll down on the link to Pivots. While this is in XL2003, how you do it is the same. The UI is slightly different in XL2010 but you should be able to overcome that quickly.

    http://www.datapigtechnologies.com/ExcelMain.htm
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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