• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macro to find column headers wherever we have "x" as value

ajoshi76

Member
Hi

I am attaching the sample file. Columns and Rows can be "n" numbers.
The macro should pick the column A and paste it in the resultant table
And then each row based on the value "x" available it should put the column headers spaced by comma.

The columns could be infinite and rows could be infinite

Can someone help.
 

Attachments

  • Book1.xlsx
    11.3 KB · Views: 3
Check out the macro in this file. I believe it does what you requested.
 

Attachments

  • MacroOutput.xlsm
    22.1 KB · Views: 5
Back
Top