+ Reply to Thread
Results 1 to 3 of 3

Applying pivot and combining few of its columns

  1. #1
    Registered User
    Join Date
    07-30-2022
    Location
    London
    MS-Off Ver
    2019
    Posts
    2

    Applying pivot and combining few of its columns

    1. Have a dataset below, when I apply pivot I want that last three columsn get combined as in final result, is it possible?

    excel.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Applying pivot and combining few of its columns

    Not with a Pivot Table, I think... But with a formula:

    =IFERROR(INDEX(A$2:A$8,MATCH(0,INDEX(COUNTIF(I$9:I9,A$2:A$8),0),0)),"")

    copied across and dnown... and then, this, copied down:

    =TEXTJOIN(CHAR(10),,IF($A$2:$A$8=I10,"Order: "&TEXT($D$2:$D$8,"dd/mm/yy")&", Bill: "&TEXT($E$2:$E$8,"dd/mm/yy")&", Qty: "&$F$2:$F$8,""))

    Don't forget to enable text wrapping.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Applying pivot and combining few of its columns

    with Power Query

    Please Login or Register  to view this content.
    Last edited by sandy666; 01-15-2023 at 09:41 AM.

+ 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. Combining Columns in Pivot
    By lucas257 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 11-22-2019, 04:07 AM
  2. [SOLVED] Combining Two Pivot Table Columns into one Sum
    By Agorshkova in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-02-2019, 02:48 PM
  3. [SOLVED] Combining columns in pivot table results.
    By Mr. H2 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-04-2017, 11:37 AM
  4. Combining data from multiple columns in a Pivot Chart
    By devi1337 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-02-2016, 11:32 AM
  5. Combining several columns to one in a huge pivot
    By KarinFromSweden in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-11-2012, 08:52 AM
  6. Replies: 2
    Last Post: 08-16-2010, 06:40 PM
  7. Pivot Table combining multiple columns
    By Pete Petersen in forum Excel General
    Replies: 1
    Last Post: 01-13-2005, 04:06 PM

Tags for this Thread

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