Value filtered by and between multiple values in table

JHSS_1

New Member
Joined
Dec 21, 2018
Messages
1
Trying to find a way to parse out data when record falls between another record. Example on 12/10/18 - Kevin time is doubled on that day....one foreman entered his time from 8-4 and another foreman entered his time from 10-2. Since it is doubled up, I need to highlight that error. Tried various pivot view, with no promising results. In the end, I need to only show records where there is a conflict from the table. Any help would be appreciated.

DateEmpStart TimeEnd TimeStart NumberEnd NumberHoursForeman
12/8/2018Kevin12/8/18 8:00 AM12/8/18 3:00 PM43442.3343442.637Harry
12/9/2018Kevin12/9/18 9:00 AM12/9/18 2:00 PM43443.3843443.585Harry
12/10/2018Kevin12/10/18 8:00 AM12/10/18 4:00 PM43444.3343444.678Harry
12/10/2018Kevin12/10/18 10:00 AM12/10/18 2:00 PM43444.4243444.584Sam
12/11/2018Kevin12/11/18 8:00 AM12/11/18 2:00 PM43445.3343445.586Harry
12/11/2018Kevin12/11/18 2:00 PM12/11/18 5:00 PM43445.5843445.713Sam

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try This;
Copy this formula;
=AND($C3>$C2,$C3<$D2)
Then highlight all the data in columns C & D that you want alerted
Then, on the Home tab click Conditional Formatting in the Styles Group
Go down and click New Rule
Then go down and click Use a formula to determine which cells to format
Then in the middle box, paste the formula
Then click the Format button just below and choose a color to fill it with or choose other tabs to format further
Then click OK
Then click OK
Then click Apply

<colgroup><col style="mso-width-source:userset;mso-width-alt:5193; width:107pt" width="142" span="5"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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