Justplainj
Board Regular
- Joined
- Apr 15, 2021
- Messages
- 50
- Office Version
- 365
- Platform
- Windows
HI All,
Sorry for the TL:DR
I have a large data set spanning 10+ years of employment data (unfortunately i cannot share the file as it is people personal information).
What I am trying to do is use a drop down list to pick a month and this filters the list.
To do this i use the filter function as follows.
=FILTER(A1:X2450,(V1:V2450 = "")*(V1:V2450 > AJ1)*(U1:U2450 < AJ1),"")
The above function obviously does not work seeing the "=" clashes with the rest of the functions permutations.
What I am trying to achieve is filter the termination date column (column v) to include a date entered in cell AJ1 but also include (and display) all cells that are blank in column V.
The end result will be to include all rows that has no terminated date (meaning active employees), as well as people after (or greater as) the date in AJ1, because if you traverse into the past these people will not have been terminated yet.
The third permutation referencing column U is the hire date column, which would then exclude people after the date in question as these people would not have been hired yet (seeing as you look at the past).
The end result should be a table of the data in column A to X which displays all people excluding those hired after the date in AJ1, include people terminated after the date in AJ1 and all rows where the termination date (column V) is blank).
The reason i want to use this filter function is so that the data can be subjected to other formulas.
I am also open to any other ideas.
Some additional background.
I currently use several pivots (over 120 for the 10 years) with the date filtered to show only a particular month and then additional pivots to track other stats such as male vs female count etc.
This is extremely cumbersome as i need to update the date filters of the pivots, every month new data is received about who left the business or who joined.
I was therefore hoping to just use the filter function to filter the main table then pivot the new table created by the filter function.
Thanks in advance
J
Sorry for the TL:DR
I have a large data set spanning 10+ years of employment data (unfortunately i cannot share the file as it is people personal information).
What I am trying to do is use a drop down list to pick a month and this filters the list.
To do this i use the filter function as follows.
=FILTER(A1:X2450,(V1:V2450 = "")*(V1:V2450 > AJ1)*(U1:U2450 < AJ1),"")
The above function obviously does not work seeing the "=" clashes with the rest of the functions permutations.
What I am trying to achieve is filter the termination date column (column v) to include a date entered in cell AJ1 but also include (and display) all cells that are blank in column V.
The end result will be to include all rows that has no terminated date (meaning active employees), as well as people after (or greater as) the date in AJ1, because if you traverse into the past these people will not have been terminated yet.
The third permutation referencing column U is the hire date column, which would then exclude people after the date in question as these people would not have been hired yet (seeing as you look at the past).
The end result should be a table of the data in column A to X which displays all people excluding those hired after the date in AJ1, include people terminated after the date in AJ1 and all rows where the termination date (column V) is blank).
The reason i want to use this filter function is so that the data can be subjected to other formulas.
I am also open to any other ideas.
Some additional background.
I currently use several pivots (over 120 for the 10 years) with the date filtered to show only a particular month and then additional pivots to track other stats such as male vs female count etc.
This is extremely cumbersome as i need to update the date filters of the pivots, every month new data is received about who left the business or who joined.
I was therefore hoping to just use the filter function to filter the main table then pivot the new table created by the filter function.
Thanks in advance
J