PrettyGood_Not Great
Board Regular
- Joined
- Nov 24, 2023
- Messages
- 102
- Office Version
- 365
- Platform
- Windows
Hi,
I have a challenge that I am not sure exactly how to describe. The mini sheet below shows a data set that we want to SUM based on criteria. The criteria for that SUM has two elements. Element A, the headers of the data set and Element B, the headers of the return array. Element B represents a grouping of Element A and the groupings are defined in the Criteria array.
To the far right are the results if we hard code a simple addition formula. I am search for a dynamic array formula that can spill down, if possible.
I have tried using FILTER(UNIQUE()) to produce a grouping of Element A based on the Element B and tried using that as the criteria within an XLOOKUP, however I only get the first result, and this approach may be flawed to begin with, not clear.
I have a challenge that I am not sure exactly how to describe. The mini sheet below shows a data set that we want to SUM based on criteria. The criteria for that SUM has two elements. Element A, the headers of the data set and Element B, the headers of the return array. Element B represents a grouping of Element A and the groupings are defined in the Criteria array.
To the far right are the results if we hard code a simple addition formula. I am search for a dynamic array formula that can spill down, if possible.
I have tried using FILTER(UNIQUE()) to produce a grouping of Element A based on the Element B and tried using that as the criteria within an XLOOKUP, however I only get the first result, and this approach may be flawed to begin with, not clear.
Cell Formulas | ||
---|---|---|
Range | Formula | |
R2:T19 | R2 | =E2+J2 |
G4:G9,I10:I19,F12:F19,L12:L15,J3:J14,H2:H13,E2:E11,K7:K10 | G4 | =RAND() |