TRANSPOSE COLUMN HEADING WITH CONDITION

R

rama

Hello,
I have some MS Excel worksheets (chart,) which are having data in rows
and related effects are marked as column headings. Each row is
connected to the effects with a marking as below.

T-100 T-101 T-102 T-103
A-123 X X X X
B-234 X X X
B-334 X X

The cell A1 is blank, A2 onwards contains some tags which are
connected to the effect using a ‘X’ mark and the first effect is
marked in B1,and subsequent cells, C1, D1, E1, F1, G1, H1,... etc.
contains effects. I am looking for some help to convert this data in
B1, C1, D1, E1, F1, G1, H1,... etc. (column heading) as marked below
using macro or function. Tag in cell A2 should bring the effect marked
in cell B1, if X mark is there in B2. Where ever X markings are there
bring the cell values in B1, C1, D1, E1, F1, G1, H1,... etc. rows,
transpose it and bring it to rows next to the tag in A2. Please see
the below example.
A-123 T-100
T-101
T-102
T-103
B-234 T-100
T-102
T-103
B-334 T-101
T-103
Please help me to solve this problem. Thanks in advance.
Rama
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top