Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel TRANSPOSE Function
  • How to use Excel COLUMN Function
  • Basic INDEX MATCH approximate in Excel

Data Analysis Examples

  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Add Outline to Data in Excel
  • Error Bars in Excel
  • Conditional Formatting Rules in Excel
  • How to create Gauge Chart in Excel

Data Validation Examples

  • Excel Data validation unique values only
  • Excel Data validation number multiple 100
  • Excel Data validation only dates between
  • Excel Data validation no punctuation
  • Excel Data validation whole percentage only

Sum by week in Excel

by

This tutorial shows how to Sum by week in Excel using the example below;

Formula

=SUMIFS(value,date,">="&A1,date,"<"&A1+7)

Explanation

To sum by week, you can use a formula based on the SUMIFS function. In the example shown, the formula in F4 is:

Worked Example:   Sum if cell contains text in another cell in Excel
=SUMIFS(amount,date,">="&E4,date,"<"&E4+7)

This formula uses the named ranges “amount” (C4:C21) and “date” (B4:B21).

How this formula works

The SUMIFS function can sum ranges based on multiple criteria.

In this problem, we configure SUMIFS to sum amounts by week using two criteria: (1) dates greater than or equal to the date in column E, (2) dates less than the date in column E plus 7 days:

=SUMIFS(amount,date,">="&E4,date,"<"&E4+7)

When this formula is copied down, SUMIFS generates a sum for each week.

Worked Example:   Sum if greater than in Excel

The dates in column E are Mondays. The first date is hard-coded, and the rest of the Mondays are calculated with a simple formula:

=E4+7
Worked Example:   Sum if date is between in Excel

Post navigation

Previous Post:

Sum by month in Excel

Next Post:

Sum by month ignore year in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • Remove text by position in a cell in Excel
  • Extract most frequently occurring text in Excel
  • How to Check If A Cell Contains Specific Text in Excel
  • CLEAN function: Description, Usage, Syntax, Examples and Explanation
  • How to abbreviate names or words in Excel
  • How to get workdays between dates in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Get days, months, and years between dates in Excel
  • How to join date and text together in Excel
  • How to calculate Next working/business day in Excel
  • CUMIPMT function: Description, Usage, Syntax, Examples and Explanation
  • XIRR function: Description, Usage, Syntax, Examples and Explanation
  • DB function: Description, Usage, Syntax, Examples and Explanation
  • Calculate original loan amount in Excel
  • How to calculate simple interest in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles