+ Reply to Thread
Results 1 to 5 of 5

Count data with in date range

Hybrid View

klis Count data with in date range 11-02-2011, 08:22 AM
jdrConsultancy Re: Count data with in date... 11-02-2011, 08:28 AM
klis Re: Count data with in date... 11-02-2011, 08:38 AM
klis Re: Count data with in date... 11-02-2011, 09:01 AM
klis Re: Count data with in date... 11-02-2011, 10:50 AM
  1. #1
    Registered User
    Join Date
    10-13-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Red face Count data with in date range

    Hi guys,

    I'm trying to count data within specific date ranges - Specific being per month.

    And I guess I'm just being a retard, but it just doesn't seem to work - I keep getting #Value and #ref errors

    In B I have the dates and in C I have the data which I would like to count.

    =SUMPRODUCT(INDIRECT("DNV!$C$13:$C$1000"),"MH")*(INDIRECT("DNV!$B$13:$B$1000">=1/9/2011<=30/9/2011))
    I'm using Indirect to prevent the cell numbers from changing as in the main sheet, rows are inserted on top.

    I wondered if I should reverse the criteria (Date range followed by Data lookup) but that didn't work either

    Cheers in advance,
    Klis

  2. #2
    Registered User
    Join Date
    11-02-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Count data with in date range

    Hi,

    can you provide me with a sample document so I can see exactly what you mean?

    thx,

    Joachim

    www.jdrconsultancy.be

  3. #3
    Registered User
    Join Date
    10-13-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Count data with in date range

    Ok, I can't actually upload a full sheet, so its just a snippet. However, as a result, the (Indirect( has no relevance.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-13-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Count data with in date range

    Ultimately all I would like (perhaps ignore my example) is the best way to work out a count calculation that looks up a specific date range and counts the requested criteria?

  5. #5
    Registered User
    Join Date
    10-13-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Count data with in date range

    I tried this, but now im just more confused :D

    =SUMPRODUCT(--(indirect("DNV!$B$13:&B$1000"<>""),--(Month("DNV!$B$13:$B$1000")=9)*(INDIRECT("DNV!$C$13:$C$1000"), "MH")))

+ 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