+ Reply to Thread
Results 1 to 5 of 5

Calculating How Much Each Person Brings in a Month

  1. #1
    Registered User
    Join Date
    04-17-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Calculating How Much Each Person Brings in a Month

    Worksheet.jpg

    Need help with this....

    I am trying to write a formula that will add all January payments (cash credit and check) received by RG and JH (Separately).

    Then I want to add February, March, etc.

    This is what I have so far. It seems to work unless you add a February in the mix and it adds it too.

    =IF(MONTH(A$9:A$28=1),SUMIF(G:G,"RG",D:D)+SUMIF(G:G,"RG",E:E)+SUMIF(G:G,"RG",F:F))

    Thanks for any help!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating How Much Each Person Brings in a Month

    Try
    =SUMPRODUCT(--(MONTH($A$1:$A$28)=1), ($G$2:$G$28="RG")*($D$1:$F$28))

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-17-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculating How Much Each Person Brings in a Month

    Thanks for the reply. I tried it and got #value error.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating How Much Each Person Brings in a Month

    Sorry, needed some tweaking. Try this

    =SUMPRODUCT(--(MONTH($A$2:$A$28)=1)*($G$2:$G$28="RG")*($D$2:$F$28))

  5. #5
    Registered User
    Join Date
    04-17-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculating How Much Each Person Brings in a Month

    Hurray! It seems to work. Thank you so much!

+ 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