Sum cells based on the value (date) of another cell

Dean_B

New Member
Joined
Aug 3, 2018
Messages
3
Hi all,

What I am trying to do is count the number of the days worked in the last 14 days. I'm hoping that someone can help me solve how, to sum up, the number of days worked based on the date of another cell. I have got the date cells to highlight in Red if in the last 14 days, but I can't figure out the rest.


I have uploaded the workbook that I am developing.
https://drive.google.com/open?id=1U9Od-KbW8PDyNSLZyT_m0dm-5xjZO1Zn

What I want to do is if the dates in F2:LI2 is 14 days before today, to sum up, the "number of days worked" for each row. So the "Number of days worked in the last 14-day period" column will only ever be 2 cells from the "number of days worked" column

Any help would be greatly appreciated.

Thanks in advance.

Dean
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi,

As an initial step ... since you are using Excel ... you should make sure to use actual dates ... and not Text ... like in a word processor ...

Your life will become a lot easier ... since you will be able to use formulas ... and fully automate your worksheet ... :wink:
 
Upvote 0
Hello,

Can always post you an updated version of your spreadsheet ...:wink:

Why is your structure of Six Columns for every week .... broken ONLY for Weeks 28-31 ???
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,690
Members
449,179
Latest member
kfhw720

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