Conditional Formatting based on overlapping dates AND addition?

JErnst

New Member
Joined
Jul 20, 2017
Messages
1
I have a sheet that I'm using to calculate work experience. For this problem, I'm looking at 3 columns: Start Date (Column B), End Date (Column C), and Hours per Week (D).

I have Excel currently highlighting overlapping dates (where a person worked more than one job) using this in conditional formatting: =SUMPRODUCT(($B6<=$C$6:$C$50)*($C6>=$B$6:$B$50))>1

However, I want to know if it's possible to only highlight when a person is working more than full time (>40 hours per week). Excel would need to find overlapping date ranges like it is now, but then add up the Column D hours for those overlapping periods and only apply the formatting if the total hours were over 40.

I can't figure out how to do this, but I'm a novice. Any experts out there who can help me?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,904
Messages
6,175,295
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