+ Reply to Thread
Results 1 to 3 of 3

Rolling month

  1. #1
    Registered User
    Join Date
    04-15-2008
    Posts
    2

    Rolling month

    Does anyone know how to make this formula; I have been working on different types all day.
    I keep all my transactions, from my bank account in an excel document. Columns listed (date, description, category, debit, credit, balance, and recorded). And the rows are simply the transactions.
    What I want it to do is add all of the debits from one category ex. “food” , but only those from the last month. Can anyone help me with this?
    thanks

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Assuming all dates are in the past this will sum debits for "food" in the last 30 days

    =SUMPRODUCT((A2:A100>TODAY()-30)*(C2:C100="food"),D2:D100)

  3. #3
    Registered User
    Join Date
    04-15-2008
    Posts
    2
    Quote Originally Posted by daddylonglegs
    Assuming all dates are in the past this will sum debits for "food" in the last 30 days

    =SUMPRODUCT((A2:A100>TODAY()-30)*(C2:C100="food"),D2:D100)


    Thanks allot, it works ! I guess I was just making it to complicated

+ 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