Verify Date Then Calculate Sum Last 7 Days

marepomana

New Member
Joined
Apr 15, 2016
Messages
1
Hey Guys,

I am wanting to setup a part in my spreadsheet that will display today's date then calculate certain data in relation to the date. For example:

Date: 16/04/16 (I need Excel to automatically fill this, will Today() work?)
The sum of all values for the last 7 days: 127 (I need Excel to calculate the values from the last 7 days from column B)
This day last week the values were:Saturday: 12 (I need Excel to calculate the data from this day last week which will be a Saturday)
In the previous month the sum of all values for this day are: Last 4 Saturday's: 152 (Excel to calculate the values from the past 4 Saturday's)

I'm sure that this will be a simple answer but I have never worked with Dates to this extent. Any help or direction would be much appreciated
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
For the sum last 7 days....

=SUMIFS(sum-range, date range, "<="&today(),date-range, ">="&today()-7)
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top