Concatenate every 2 rows into 1, based on account numbers
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a data where all the debit account numbers are same("1" in attached data), and there are 2 different credit account numbers("2" & "3" in attached data). There is always a pair for each transaction.Single person can have multiple transactions of same amount too.
example: 1&2, 1&3.
Debit & Credit are currently stored in 2 different rows. I need to merge them into single row for each transaction, by identifying the pairs.
Attached is sample data & required output
Solved! Go to Solution.
- Labels:
- Data Investigation
- Datasets
- Developer
- Join
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Kavya132017
Here's how I'd do this:
I've made the recordId pair all the rows - as I think this is what you're after - ideally there'd be a combination of fields which gives that unique grouping, but this gives the right output
Ollie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you so much OllieClark, that worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you please help me,How can I get other related columns into the output data maintaing the same logic? updated the sheets and attached
