+ Reply to Thread
Results 1 to 3 of 3

Consolidate data from rows to columns

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Consolidate data from rows to columns

    Hi all,

    Assume you have a rather large data set with products and their Best Before dates. There are duplicates in products column as the same product may have several best before dates. What I am trying to achieve is to build a report, where I have all the products in one column (no duplicates), but Best Before dates in several columns, depending how many of them are there. It isn't easy to explain, so I have drafted a dummy with how I desire the result to look like, Once you see it you will understand what I'm after.

    I don't mind either - formula or VBA approach, as long as it gives me the correct output.

    Thanks all in advance for your priceless ideas.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Consolidate data from rows to columns

    Please try at I6 drag across and down

    =IFERROR(INDEX($E:$E,AGGREGATE(15,6,ROW($C$6:$C$99)/($C$6:$C$99=$H6),COLUMNS($I6:I6))),"")

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Consolidate data from rows to columns

    Bulls Eye! Thanks Bo_Ry!!!

+ 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] Rearrange columns to rows and consolidate data
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-03-2018, 12:26 PM
  2. Replies: 2
    Last Post: 12-09-2016, 01:47 AM
  3. How can I consolidate rows with same names but sum up only certain columns?
    By bottledwater in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-14-2016, 05:36 PM
  4. Consolidate Data In Multiple Rows and Columns Into One Row
    By KiwDaWabbit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2015, 03:06 PM
  5. [SOLVED] Consolidate text data from rows into columns
    By joevan1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-29-2013, 01:10 AM
  6. Replies: 2
    Last Post: 05-08-2012, 07:17 PM
  7. Replies: 2
    Last Post: 06-14-2011, 12:39 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