+ Reply to Thread
Results 1 to 3 of 3

Sum daily to weekly using OFFSET and SUMIF functions

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    berlin
    MS-Off Ver
    2010
    Posts
    2

    Sum daily to weekly using OFFSET and SUMIF functions

    Hi all. I am working on a spreadsheet in order to calculate daily cost, accumulated and individual. I would like to add in col 6 (O6) a condition to sum the cost week by week, and show only in the last day of the week, Sunday for instance.

    the sheet is attached here: example-sample.xlsm

    Thank you.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sum daily to weekly using OFFSET and SUMIF functions

    In O6
    =IF(COUNTIF(N6:$N$14,N6)=1,SUMIF($N$6:$N$14,N6,$B$6:$B$14),"")

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    11-10-2014
    Location
    berlin
    MS-Off Ver
    2010
    Posts
    2

    Re: Sum daily to weekly using OFFSET and SUMIF functions

    Hi thank you for your reply. The function works, however my goal was not to fix cells as I the sheet will be filled to the 31st, so there will be 30 or 31 daily value. Plus I have to detect the beginning or end of the week to sum the previous six days plus this day, that's why I was thinking about the offset function. I used this formula but it did not work: =SUMIF((offset(C5,-6,0):C6,O6">="O7,O6))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  2. Replies: 2
    Last Post: 02-03-2012, 02:58 AM
  3. daily / weekly total
    By Tobyriley in forum Excel General
    Replies: 5
    Last Post: 06-15-2010, 02:08 PM
  4. daily and weekly cost sum
    By corper in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2007, 04:35 AM
  5. Trying to use sumif and offset functions
    By hizzle in forum Excel General
    Replies: 5
    Last Post: 02-09-2006, 07:47 PM

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