Hi,
I am working on huge data in which I have Device Names in Column B and its Connecting interfaces in Column C.
Column B has single entry against multiple entries in Column C. I want to merge Cells in Column B w.r.t column C cells.automatically. Number Cells/rows are unequal in column C for each entry against Column B.
I know how to do it manually, but data is huge it will take ages to do that way. I am looking for a way in which it can be merged. It should automatically detect next cell in which data is present minus 1 and merge above all cells.
e.g. in below case Cells from Router 1 (Cell B2) to Router 2{(cell B5)-1}i.e B4 should get merge automatically and merging FROM B5 TO B7, B9 to B14 should happen and so on.
Query 2. how give serial number to merged cells, as the number rows are different, Sr.No are not getting assigned automatically.
Query 3. If I Filter Device "Router 1" I am Getting Output for only one row (1) in column B. I should get output with all entries in Column B
Please share a solution how can I get things done with less headache.
[TABLE="width: 50"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Sr No.[/TD]
[TD]Device[/TD]
[TD]Interface[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]Router1[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD][/TD]
[TD]Gig3[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]5[/TD]
[TD]Router2[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]7[/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]8[/TD]
[TD]Router 3[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig3[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig4[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig5[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]Router 4[/TD]
[TD]Gig0[/TD]
[/TR]
</tbody>[/TABLE]
Regards,
Rohit
I am working on huge data in which I have Device Names in Column B and its Connecting interfaces in Column C.
Column B has single entry against multiple entries in Column C. I want to merge Cells in Column B w.r.t column C cells.automatically. Number Cells/rows are unequal in column C for each entry against Column B.
I know how to do it manually, but data is huge it will take ages to do that way. I am looking for a way in which it can be merged. It should automatically detect next cell in which data is present minus 1 and merge above all cells.
e.g. in below case Cells from Router 1 (Cell B2) to Router 2{(cell B5)-1}i.e B4 should get merge automatically and merging FROM B5 TO B7, B9 to B14 should happen and so on.
Query 2. how give serial number to merged cells, as the number rows are different, Sr.No are not getting assigned automatically.
Query 3. If I Filter Device "Router 1" I am Getting Output for only one row (1) in column B. I should get output with all entries in Column B
Please share a solution how can I get things done with less headache.
[TABLE="width: 50"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Sr No.[/TD]
[TD]Device[/TD]
[TD]Interface[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]Router1[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD][/TD]
[TD]Gig3[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]5[/TD]
[TD]Router2[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]7[/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]8[/TD]
[TD]Router 3[/TD]
[TD]Gig0[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig1[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig2[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig3[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig4[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD]Gig5[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]Router 4[/TD]
[TD]Gig0[/TD]
[/TR]
</tbody>[/TABLE]
Regards,
Rohit