+ Reply to Thread
Results 1 to 2 of 2

SUMPRODUCT for particular dates

  1. #1
    Registered User
    Join Date
    01-06-2008
    Posts
    2

    SUMPRODUCT for particular dates

    I made this worksheet some time ago, and in the mean time I managed to forget everything I knew/learned about excel. So thank you guys for the help.

    So basically I have this function:

    =SUMPRODUCT((Bankroll!$AA$14:$AA$6000<>"")*(MONTH(Bankroll!$AA$14:$AA$6000)=1)*(YEAR(Bankroll!$AA$14:$AA$6000)=2007)*(Bankroll!$AD$14:$AD$6000))

    In the worksheet

    Column AA is the Date
    Column AB is the type of transaction (deposit, withdrawal, bonus, ect.)
    Column AD is the Amount

    So to the previous function, I want it only to sum column AD (Amount) when column AB (Transaction) says "Deposit" and/or "Withdrawal".

    Thank guys.

  2. #2
    Registered User
    Join Date
    01-06-2008
    Posts
    2
    nevermind I think I figured it out.

    =SUMPRODUCT((Bankroll!$AA$14:$AA$6000<>"")*(MONTH(Bankroll!$AA$14:$AA$6000)=12)*(YEAR(Bankroll!$AA$14:$AA$6000)=2007)*(Bankroll!$AD$14:$AD$6000)*((Bankroll!$AB$14:$AB$6000="Deposit")+(Bankroll!$AB$14:$AB$6000="Withdrawal")))

+ 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