MountainFog
Board Regular
- Joined
- Nov 16, 2023
- Messages
- 140
- Office Version
- 365
- Platform
- Windows
Hi All,
I can't use the xl2bb tool due to work policy. I have a filter function that I am using to filter a list of timesheet data, but when a correction is made, it doesn't delete the entry, but cancels it out with another entry. I'm trying to use a filter function with array formula to filter the data down to people that have overhead hours, with entries that don't have a canceled-out entry. I'm able to filter to overhead, but I'm stuck when it comes to the other condition. Essentially, I want something that says that the sum of that person, for that date, does not equal 0. Not sure how to do that as an array formula that would spill down. My initial reaction was Sumifs, but not sure how to convert that into array, particularly the condition.
-------------AT--------------------------------------------------------AU-------------------------AV-----------------------AW-------------------------------AX--------------------------------AY----------------------------AZ
Thank you all for the help!
I can't use the xl2bb tool due to work policy. I have a filter function that I am using to filter a list of timesheet data, but when a correction is made, it doesn't delete the entry, but cancels it out with another entry. I'm trying to use a filter function with array formula to filter the data down to people that have overhead hours, with entries that don't have a canceled-out entry. I'm able to filter to overhead, but I'm stuck when it comes to the other condition. Essentially, I want something that says that the sum of that person, for that date, does not equal 0. Not sure how to do that as an array formula that would spill down. My initial reaction was Sumifs, but not sure how to convert that into array, particularly the condition.
Excel Formula:
=LET(a,$AT:$AY,FILTER(a,(CHOOSECOLS(a,1)<>"")*(CHOOSECOLS(a,1)<>"Task")*($AZ:$AZ="Overhead")))
Task | LaborCategory | PayCode | Person | Date | Hours | Helper |
xxxxx-Overhead Labor | xxxxx-Overhead Labor | REG | Doe, John | 8-May-23 | 8 | Overhead |
xxxxx-Overhead Labor | xxxxx-Overhead Labor | REG | Doe, John | 8-May-23 | -8 | Overhead |
xxxxx-Overhead Labor | xxxxx-Labor | REG | Doe, John | 5-Jun-26 | 8 | Labor |
xxxxx-Overhead Labor | xxxxx-Labor | REG | Doe, John | 5-Jun-26 | -8 | Labor |
xxxxx-Overhead Labor | xxxxx-Overhead Labor | REG | Doe, John | 4-Jul-29 | 8 | Overhead |
Thank you all for the help!