Forum Discussion
shimithnv1987
Oct 24, 2023Copper Contributor
excel
agnt n l b h Amount 1 1 2 5 2 20 1 2 5 2 20 Total 40 2 1 2 3 2 12 1 2 5 2 20 Total 32 3 1 2 4 2 ...
- Oct 28, 2023
...I want to return 40 ,100,189...
There's no row with Total = 189 in the data you initially exposed so below result is probably not what you expect:
=LET( Agnt, SCAN(0,Table[agnt], LAMBDA(seed,agnt, IF(ISNUMBER(agnt), agnt, seed)) ) = I1, TRANSPOSE(FILTER(Table[Amount], Agnt * ISNUMBER(XMATCH(Table[h],"total")), "")) )
Lorenzo
Oct 28, 2023Silver Contributor
...I want to return 40 ,100,189...
There's no row with Total = 189 in the data you initially exposed so below result is probably not what you expect:
=LET(
Agnt, SCAN(0,Table[agnt],
LAMBDA(seed,agnt, IF(ISNUMBER(agnt), agnt, seed))
) = I1,
TRANSPOSE(FILTER(Table[Amount], Agnt * ISNUMBER(XMATCH(Table[h],"total")), ""))
)
FRANCOIS_1990
Jan 11, 2024Copper Contributor
Quand je tape la fonction somme, la réponse revient en format date.