+ Reply to Thread
Results 1 to 3 of 3

Sum values if they occurred during current week

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-03-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    139

    Sum values if they occurred during current week

    I have a checkbook transaction sheet that contains a category column. I also have a category table (named range) that sums up all the values from the transaction log for each category. I.E. Withdrawls, there may be 10 totaling up to 1000.00 over the course of say three weeks. In the category table it totals all of the 10 different transactions up with Withdrawls as the category.

    What I would like to do is to have a separate category table that only tracks the transactions made during the current week and DOES NOT include any of the transactions from the prior weeks.

    Currently my transaction log table section is from columns E - K. The Date column is Col F and the Category column is Col H, the formula in my current category table is as follows:

    Formula: copy to clipboard
    =SUMIF(MyTransactions[Category],"=" &CategoryTable[[#This Row],[Category]],MyTransactions[Withdrawal])


    So, basically what I need to know is how to include an IF (the date in Col F is) WITHIN THE CURRENT WEEK to the formula above. I have not been successful with a variety of formulas I have tried so far.

    Thoughts Anyone?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    Re: Sum values if they occurred during current week

    How do you define "during the current week"? Asssuming that means on or after last Monday then given you can get last Monday with this formula

    =TODAY()-WEEKDAY(TODAY(),3)

    try adding this criteria

    =SUMIF(......,MyTransactions[Date],">="&TODAY()-WEEKDAY(TODAY(),3))
    Last edited by daddylonglegs; 08-30-2012 at 11:47 AM.
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    07-03-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Sum values if they occurred during current week

    Thank You daddylonglegs,

    Would be on or after last Sunday.

    I have tried the formula and I am getting the, you have entered to many arguments for this formula error. Other than that, excel 2007 help is not all that helpful. That is why I come out here where the experts hang!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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