+ Reply to Thread
Results 1 to 7 of 7

Adding data in column to a cell

  1. #1
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Adding data in column to a cell

    Okay, I think this is probably easy, but I can't figure it out. Half the problem is that I'm not entirely sure how to phrase it.

    What I want to do is to take a number of items in a column and put them in a cell, belonging to a certain ID.

    So, the data looks like this:

    ID Cert
    10056 MS1
    10056 MS3
    10056 MS2

    I want the finished product to look like this:

    ID Cert
    10056 MS1;MS3;MS2

    The order of the certs doesn't matter.
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Adding data in column to a cell

    One way:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Adding data in column to a cell

    An alterative solution is to build a pivot table in Power Pivot. Create a measure to concatenate the Certs.

    Here is your file attached showing same and a tutorial on how to achieve this.

    https://www.sfmagazine.com/articles/...ble/?psso=true

    this can be very effective if you have a large data set. Very quick and easy. Any updates and Refresh All updates your end result.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Adding data in column to a cell

    Okay, so that works on the test sheet, but when I input it with real values, I get a #VALUE! error.

    The difference is the ID's are something like
    RLP300500

    And the certs are like:

    Certified Microsoft Fundamental person

  5. #5
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Adding data in column to a cell

    Actually, I think I found a work around.

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Adding data in column to a cell

    Thanks for the feedback and rep . Glad to have helped.

    If the ID's not numeric, please replace FILTER(a,a) with FILTER(a,a<>"")

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Adding data in column to a cell

    Thanks for the Rep. I hope you found the PP solution worthy.

+ 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. Replies: 3
    Last Post: 04-18-2020, 02:04 AM
  2. Replies: 11
    Last Post: 08-26-2019, 05:42 PM
  3. [SOLVED] Adding data to a column based on data from a seperate cell
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-14-2017, 01:37 PM
  4. [SOLVED] adding target lines into graphs without adding an extra column of data
    By ea223 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-16-2013, 12:32 PM
  5. Help for adding static date in column B on import/pasting of data in Column A
    By Parijaat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2013, 05:34 AM
  6. Adding column data if a corresponding cell row equals X
    By schnoobs in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-22-2012, 12:05 PM
  7. Adding specific data depending on previous column cell value
    By Gerhard Kriek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2009, 05:32 AM

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