+ Reply to Thread
Results 1 to 4 of 4

Adding To Formula To Count Values

  1. #1
    Registered User
    Join Date
    12-02-2006
    Posts
    51

    Adding To Formula To Count Values

    =SUMPRODUCT(--(MONTH(Master!$I$4:$I$5000)=MONTH(C16)),--(YEAR(Master!$I$4:$I$5000)=YEAR(C16)),--(Master!$H$4:$H$5000=$A$9))

    How do I add to the above formula to also count how many times in column [J] a value over 9999 appears. Then another formula that counts how many times a value between 10000 and 24999 appears?

    I've tried:

    =SUMPRODUCT(--(MONTH(Master!$I$4:$I$5000)=MONTH(C16)),--(YEAR(Master!$I$4:$I$5000)=YEAR(C16)),--(Master!$H$4:$H$5000=$A$9)),--Master!$4:$5000>9999))

    but it's not working.

    Thanks for your help.

  2. #2
    Registered User
    Join Date
    06-11-2007
    Location
    Nonthaburee Province, Thailand
    MS-Off Ver
    MS Office 2003 to MS Office 2010
    Posts
    82
    Hi Karleajensar

    Every volunteers in this forum would like to help you, but they're afraid that the given solution for you does match your need. So please give some sample data and the result that you want in the attached file.


    Best reguard.
    N. Yauvasuta
    Power User Excel.

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

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-02-2006
    Posts
    51
    I apologize for not being more clear.

    I attached an example. I need B3 in worksheet "Info" to count the occurrences when in worksheet "Master" amounts under 10000 are in column [I] AND the month/year in column [H] is Jan/2007.

    Then I need B4 to count the occurrences when amounts are 10000 to 24999 are in column [I] AND the month/year in column [H] is Jan/2007.

    and so forth for B5 and B6. I can then modify for Feb/2007, March/2007. April/2007 ...

    THEN
    I need to do the same thing in B11 but only when "AJB" occurs in column G in worksheet "Master"

    Thank you so much for your help.
    Attached Files Attached Files
    Last edited by Karleajensar; 11-06-2007 at 02:46 PM.

+ 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