Consulting

Results 1 to 2 of 2

Thread: Excel VBA Repeating and Merging Data Into Some Columns

  1. #1

    Excel VBA Repeating and Merging Data Into Some Columns

    Hi there,

    I have the file with multiple columns and looks for VBA code for repeating data and merging data into some columns. Enclosed the following image and file for reference Raw Data n Result.xlsx

    Raw Data & Result.JPG

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    This is known as "unpivot" and "normalizing" data structure. A PowerQuery should accomplish this easier than VBA. Review https://exceloffthegrid.com/power-query-unpivot-data/
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Tags for this Thread

Posting Permissions

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