+ Reply to Thread
Results 1 to 5 of 5

Replace with column header or concatenate?

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Question Replace with column header or concatenate?

    Hi Folks,

    I have a table of data with a reference in column A, the column headings are frequencies. The result is what i am looking to achieve, basically concatenate the heading values if there is a "1" in the row? Perhaps there is another way but the Result is what I am looking to achieve. If you could explain the make up of the formula that would be most appreciated.

    Sample.JPG
    Thanks and stay safe

    G
    Last edited by GC1; 01-08-2021 at 03:36 AM.
    Many Thanks

    GC1

  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
    43,986

    Re: Replace with column header or concatenate?

    Since you do not have Office 365, you have probably 2 choices: a UDF (requires saving as an .xlsm) or a helper column. Your choice. Please read the yellow banner at the top of the page and attach a small sample sheet.
    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
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Re: Replace with column header or concatenate?

    Lets go with a helper column if possible.
    Attached Files Attached Files

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

    Re: Replace with column header or concatenate?

    Please try at
    AB2:AY6
    =AA2&REPT(","&B$1,B2)

    Z2
    =MID(AY2,2,99)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Lightbulb Re: Replace with column header or concatenate?

    Result, thank you so much :-)

+ 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] replace maximum value of each row into column header value
    By jinhak0810 in forum Excel General
    Replies: 4
    Last Post: 01-05-2020, 09:18 AM
  2. [SOLVED] vba excel match replace column header using criteria
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2019, 12:27 PM
  3. [SOLVED] looping through columns to find a value then replace said value with column header
    By Sybille in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2018, 10:38 AM
  4. Concatenate dynamic Column values with column header
    By rockyboy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-28-2018, 06:37 PM
  5. Concatenate keys based off column Header
    By NYC4LIFE in forum Excel General
    Replies: 2
    Last Post: 07-26-2013, 03:33 PM
  6. Need a Macro 2 search rows for text and replace with column header...
    By XcelRookie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2012, 05:48 PM
  7. Replies: 3
    Last Post: 04-18-2006, 12:45 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