+ Reply to Thread
Results 1 to 4 of 4

Transpose split data based on unique trx number

  1. #1
    Registered User
    Join Date
    06-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    24

    Transpose split data based on unique trx number

    Hi,

    If someone could find a solution my problem, I'll be most grateful.

    Problem is, I have personal expenses data stored in rows with categories in headers, and a unique trx number that tie them together, the purpose of the trx number primarily is to linked all the split data to the parent transaction. The splits can run up to 30 or more per transaction number. I have to import my transactions into a personal finance software and need my data to be setup correctly in order to be imported properly as I don't want to lose my historical transaction.

    I need to a VBA solution to extract the data per trx number, sum it up and pull out all the splits for that trx number and bring in to columns adjacent.
    I have attached an example of my data with how the raw data is setup and my desired result.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Transpose split data based on unique trx number

    From your example it seems that for the same TRXN , the PAYEE, LOCAT are always the same, is it ?

    Added : Date and ACT1 and PAYEE and LOCAT
    Last edited by PCI; 10-05-2018 at 01:37 PM.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Transpose split data based on unique trx number

    See next code.
    See in file attached sheets'name used
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Transpose split data based on unique trx number


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Transpose split data from rows to columns
    By sawan202 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-06-2018, 08:38 PM
  2. [SOLVED] vba split data in respective columns based on unique list sheet
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2017, 02:40 PM
  3. [SOLVED] How to look up data based on unique number in one colum to return if true of false
    By foxyspook in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-04-2016, 05:30 AM
  4. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  5. Split Data with a transpose function
    By a1b2c3d4e5f6g7 in forum Excel General
    Replies: 1
    Last Post: 06-12-2014, 03:46 AM
  6. Transpose unique numbers based on another column
    By Jon.R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2014, 03:31 PM
  7. Split Data and transpose
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2012, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1