TheMacroNoob
Board Regular
- Joined
- Aug 5, 2022
- Messages
- 52
- Office Version
- 365
- Platform
- Windows
I have a spill array that is pulling IDs from another sheet.
I already have a list of IDs on one side of my visual, and I want to avoid duplicates.
The list of my array formula is longer than the existing list I want to compare, and that's tripping me up.
My formula with the spill array: =SORT(FILTER(IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],""),IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],"")<>"",""),,1)
I already have a list of IDs on one side of my visual, and I want to avoid duplicates.
The list of my array formula is longer than the existing list I want to compare, and that's tripping me up.
My formula with the spill array: =SORT(FILTER(IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],""),IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],"")<>"",""),,1)
Cell Formulas | ||
---|---|---|
Range | Formula | |
D14:D42 | D14 | =IFNA(IF(XLOOKUP(C14,Year_Changes[PID],Year_Changes[Changes D1-D2])=1,"Moved to 2021","Added to 2020"),"") |
E14 | E14 | =IF(COUNTIFS(D14,"*Moved*"),-XLOOKUP(C14,Data[PID],Data[P1],""),XLOOKUP(C14,Data[PID],Data[P1],"")) |
C15:C29 | C15 | =SORT(FILTER(IFS(Year_Changes[Changes D1-D2]=1,Year_Changes[PID],Year_Changes[Changes D1-D2]="Property Added",Year_Changes[PID],TRUE,""),IFS(Year_Changes[Changes D1-D2]=1,Year_Changes[PID],Year_Changes[Changes D1-D2]="Property Added",Year_Changes[PID],TRUE,"")<>"",""),,1) |
E15:E42 | E15 | =IF(COUNTIFS(D15,"*Moved*"),-XLOOKUP(C15,Data[PID],Data[P2],""),XLOOKUP(C15,Data[PID],Data[P2],"")) |
F15:F41 | F15 | =SORT(FILTER(IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],""),IF(Proceeds_Changes[Changes P1-P2]<>0,Proceeds_Changes[PID],"")<>"",""),,1) |
H15 | H15 | =$H$12+E15+G15 |
H16:H29 | H16 | =H15+E16+G16 |
G15:G42 | G15 | =XLOOKUP(F15,Data[PID],Proceeds_Changes[Changes P1-P2],"") |
Dynamic array formulas. |