Results 1 to 4 of 4

How can compile data in a desired format?

Threaded View

  1. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,928

    Re: How can compile data in a desired format?

    Try this,

    =LET(
      a,SCAN(,B6:B20,LAMBDA(x,y,IF(y="",x,y))),
      b,FILTER(HSTACK(a,B6:G20),D6:D20<>""),
      c,D5:G5,
      d,D6:G20,
      e,REDUCE("",UNIQUE(INDEX(b,,3)),LAMBDA(x,y,HSTACK(x,EXPAND(y,1,4,y)))),
      f,REDUCE("",UNIQUE(INDEX(b,,3)),LAMBDA(x,y,HSTACK(x,c))),
      g,DROP(REDUCE(0,UNIQUE(INDEX(b,,1)),LAMBDA(x,y,VSTACK(x,HSTACK(y,TOROW(FILTER(d,INDEX(a,,1)=y),1))))),1),
      VSTACK(e,f,g)
    )
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Unable to Reformat a List of Data into Desired Format
    By jeff2302680 in forum Excel General
    Replies: 5
    Last Post: 01-26-2022, 01:12 PM
  2. [SOLVED] Copy data in desired format from one excel sheet to other
    By Saritha123 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-02-2021, 04:33 AM
  3. Replies: 3
    Last Post: 11-12-2018, 07:48 PM
  4. [SOLVED] Extracting data from different worksheets in desired format
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2016, 10:56 PM
  5. Replies: 3
    Last Post: 09-15-2015, 06:07 AM
  6. Best Way to Transform Data into Desired Format
    By AntiPivotTable in forum Excel General
    Replies: 3
    Last Post: 01-07-2015, 05:43 PM
  7. [SOLVED] Macro to format raw data in to desired formatted data file.
    By bmbalamurali in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-21-2014, 01:49 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