Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • Excel Line Chart
  • Conditional Formatting New Rule with Formulas in Excel
  • How to Create Area Chart in Excel
  • How to create Gauge Chart in Excel

References

  • How to get last row in mixed data with blanks in Excel
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Count rows that contain specific values in Excel
  • Vlookup Examples in Excel
  • Convert text string to valid reference in Excel using Indirect function

Data Validations

  • Prevent invalid data entering in specific cells
  • Excel Data validation allow weekday only
  • Excel Data validation don’t exceed total
  • Excel Data validation must contain specific text
  • Data validation must not exist in list

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:

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

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

Worked Example:   Sum if cell contains text in another cell in Excel

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:   SUMIFS with multiple criteria and OR logic 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

Post navigation

Previous Post:

44 Practical Excel IF function Examples

Next Post:

Large with criteria 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

Logical Functions

  • Check multiple cells are equal in Excel
  • How to use Excel OR Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel

Date Time

  • Convert date to Julian format in Excel
  • Get work hours between dates and times in Excel
  • How to calculate percent of year complete in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate months between dates in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel
  • Group numbers with VLOOKUP in Excel

General

  • How to calculate percent change in Excel
  • Count cells less than in Excel
  • How to test a range for numbers in Excel
  • Delete Blank Rows at Once in Excel
  • AutoFit Column Width, AutoFit Row Height in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning