Share via

Combine 5 columns data into 2 columns & Stack data in to result cells

Anonymous
2024-08-07T05:23:23+00:00
Date Transaction Credits Debits A/C Bal. Output Statement Output Statement
01/08/2024 Cr-AAA 100 160 01/08/2024 Cr-AAA 100 A/C Bal.160
01/08/2024 Dr--bill 30 130 01/08/2024 Dr--bill 30 A/C Bal.130
02/08/2024 Cr--SSS 10 140 02/8/2024 Cr--SSS 10 A/C Bal.140
02/08/2024 Dr--debit 20 120 02/08/2024 Dr--debit 20 A/C Bal.120
02/08/2024 Cr--interest 50 170 02/08/2024 Cr--Interest 50 A/C Bal.170

Combine 5 columns data in to 2 columns. How to achieve results in Column G & H columns. Columns A&B cells A2 & B2 data be stacked in in G2 cell and Cell cells C2,D2,E2 data be stacked in H2 cell. Assumed A/C Bal. on 31/07/2024 was 60. All credits be added to A/c Bal and all Debits be deducted in Col.E i.e A/C Bal. column.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2024-08-07T07:24:50+00:00

In G2:

=TEXT(A2, "dd/mm/yyyy")&" "&B2

In H2:

=C2+D2&" A/C Bal. "&E2

But we cannot color part of the result of the formula in H2. Excel does not support that.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful