Forum Discussion
Hussein_Mohamed
May 03, 2023Brass Contributor
Formula assist in office 365
Dears, Could you please advice, the attached sheet including data exported from bank and i need to make the discrptions in culumn #C appear in one line not rows as the example in culmn #J Thanks...
- May 08, 2023
Perhaps with Power Query if you consider such option
Patrick2788
May 03, 2023Silver Contributor
I see you're using 365 so this may do what you need:
'Transactions dynamic range
=LET(rng, Sheet1!$A$8:$G$10000, nonblank, COUNTA(Sheet1!$C$8:$C$10000), TAKE(rng, nonblank))
'EGPRef (column b)
=TAKE(DROP(Transactions, , 1), , 1)
=LET(
FilledEGP, SCAN("", EGPRef, LAMBDA(a, v, IF(v = "", a, v))),
uEGP, TOCOL(EGPRef, 1),
DROP(
REDUCE(
"",
uEGP,
LAMBDA(a, v,
LET(
filtered, FILTER(Transactions, FilledEGP = v),
IFERROR(VSTACK(a, TOROW(filtered, 1)), "")
)
)
),
1
)
)Hussein_Mohamed
May 09, 2023Brass Contributor
i am trying to use the formula yove been provided but it wasnt work as per the attached,
your support is highly appreciated
- Patrick2788May 09, 2023Silver Contributor
The formula looks good. That workbook is missing the "EGP Ref" the previous copy had:
- Hussein_MohamedMay 10, 2023Brass ContributorIt takes long time for calculation and make the sheet not responding.
N.B: the sheet including large row data