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

Status
Not open for further replies.

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

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Status
Not open for further replies.

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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