
Active Member

August 16, 2021


VIP

Trusted Members

December 7, 2016


Active Member

August 16, 2021

I try to upload the file again

VIP

Trusted Members

December 7, 2016

Hello Dan,
I am not skilled enough in Power Query to look for a solution using that tool, I have instead looked into highlighting the overlapping dates using conditional formatting, see attached file for an example.
The cells previously highlighted in red are now coloured in light gold, except cell C16, but based on other rows with similar scenario where To and From date are the same but not highlighted by you I assume this can be skipped.
The formulaes in the conditional formatting rules only checks the above or below rows, so if it is needed to be checked in a larger scale then this needs to be adjusted, for such perhaps a solution needs to be found using Power Query.
I hope it gives some help.
Br,
Anders

Answers Post


November 8, 2013

Hi Dan,
Can you clarify the following case? You have highlighted in red below an overlapping:
10000206 | Østerhåbskolen afd. Torsted | 1/12/1994 | 8/03/1999 |
10000206 | Egebjergskolen | 9/03/1999 | 1/04/2003 |
10000206 | Egebjergskolen | 1/02/2003 | 1/04/2003 |
10000206 | Egebjergskolen | 1/01/2008 | 1/10/2014 |
10000206 | Samsø Skole | 1/10/2014 | 31/01/2015 |
10000206 | Samsø Skole | 1/02/2015 | 31/12/9999 |
You mentioned that:
If a member has more than one "Position of trust" I need to check if the next "Position of trust" has a "Date from" that i larger or equal to the "Date To" in the earlier "position of trust"
What you have highlighted does not follow your description: the overlapping is between the SAME position of trust, not earlier position of trust.
1 Guest(s)
