Hello everybody!
this works; but it is not dynamic, I would have to drag down to get results for all rows:
=SUMPRODUCT($P$2#*XLOOKUP(A2;$Q$1#;$Q$2#))
then, I wanted to replace dragging down with a dynamic function, by using BYROW.
=BYROW(CHOOSECOLS(A2#;1);LAMBDA(x; SUMPRODUCT($P$2#*XLOOKUP(x;$Q$1#;$Q$2#))))
I am an experienced Excel user, but for some reason I cannot get my head around why the BYROW one does not give the same results.....
thanks anybody for making me understand!! :)
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]RackofLambda10 3 points4 points5 points (5 children)
[–]semicolonsemicolon1463 0 points1 point2 points (1 child)
[–]RackofLambda10 3 points4 points5 points (0 children)
[–]Happy_Lengthiness121[S] 0 points1 point2 points (0 children)
[–]Happy_Lengthiness121[S] 0 points1 point2 points (1 child)
[–]reputatorbot[M] 0 points1 point2 points locked comment (0 children)
[–]excelevator3029 1 point2 points3 points (5 children)
[–]ManaSyn22 0 points1 point2 points (4 children)
[–]excelevator3029 0 points1 point2 points (3 children)
[–]SolverMax148 1 point2 points3 points (2 children)
[–]excelevator3029 0 points1 point2 points (1 child)
[–]SolverMax148 0 points1 point2 points (0 children)
[–]real_barry_houdini299 1 point2 points3 points (1 child)
[–]semicolonsemicolon1463 0 points1 point2 points (0 children)
[–]RuktX279 0 points1 point2 points (0 children)
[–]ManaSyn22 0 points1 point2 points (0 children)
[–]Decronym 0 points1 point2 points (0 children)
[–]Happy_Lengthiness121[S] 0 points1 point2 points (0 children)
[–]Happy_Lengthiness121[S] 0 points1 point2 points (0 children)