+ Reply to Thread
Results 1 to 5 of 5

Calculating totals based on week numbers

  1. #1
    Forum Contributor
    Join Date
    05-17-2010
    Location
    Nigeria, Owerri
    MS-Off Ver
    Excel 2007 and 2013
    Posts
    254

    Calculating totals based on week numbers

    Hi guys,

    First and foremost, thanks for all the support I have been receiving from this house. I really appreciate you all.

    Attached is a list of payments by companies. I want to get the weekly total payments using sumproduct function. I have this formular but it's not giving me what I want as it is returning error. =SUMPRODUCT((WEEKNUM($A$1:$A$162)=I3),$F$1:$F$162)

    Kindly assist.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,519

    Re: Calculating totals based on week numbers

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    05-17-2010
    Location
    Nigeria, Owerri
    MS-Off Ver
    Excel 2007 and 2013
    Posts
    254

    Re: Calculating totals based on week numbers

    Thanks TMS. But the formular still gave the same error message.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Calculating totals based on week numbers

    WEEKNUM() cannot return an array of values you can create a helper column and do sumproduct

    or
    Try

    J8
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag down
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,277

    Re: Calculating totals based on week numbers

    With helper column in H
    in H1


    =WEEKNUM(A1)

    copy down

    in J8

    =SUMIF(H:H,I8,F:F)

    copy down

+ 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. [SOLVED] Add up totals of 0's based on day of the week
    By jonodillieono in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-07-2016, 09:37 AM
  2. Calculating rounded number of days based on totals
    By pmoby in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2014, 05:28 AM
  3. Replies: 6
    Last Post: 05-16-2014, 11:30 AM
  4. [SOLVED] running totals in Pivot Table - removing a user from the totals for the current week
    By eisenbergg in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 09-08-2013, 04:39 PM
  5. Exel Calculating totals based on Data Present
    By ashhm in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-20-2012, 11:36 AM
  6. Calculating totals based off of conditions
    By Mindtrap in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2007, 01:41 PM
  7. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 AM

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