Hi All,
Below is an extract of a table of data I currently have which in reality is much larger with 54 risks and 90 funds across the top.
[TABLE="width: 713"]
<tbody>[TR]
[TD][/TD]
[TD]Fund A[/TD]
[TD]Fund B[/TD]
[TD]Fund C[/TD]
[TD]Fund D[/TD]
[TD]Fund E[/TD]
[/TR]
[TR]
[TD] Risk_01_RT[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD] Risk_02_RT[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_03_RT[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_04_RT[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_05_RT[/TD]
[TD]X[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]Result[/TD]
[TD]01,03,05[/TD]
[TD]01,02,04[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to replace the X's with the risk number which I can do by using the mid function but as the table is so large is there a quick way of doing this in VBA instead of filtering by each fund and copying the formula down.
Also I need to concatenate the risk numbers to send to our developers with a comma in-between as shown in the example result for Funds A & B.
Thanks in advance!
Below is an extract of a table of data I currently have which in reality is much larger with 54 risks and 90 funds across the top.
[TABLE="width: 713"]
<tbody>[TR]
[TD][/TD]
[TD]Fund A[/TD]
[TD]Fund B[/TD]
[TD]Fund C[/TD]
[TD]Fund D[/TD]
[TD]Fund E[/TD]
[/TR]
[TR]
[TD] Risk_01_RT[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD] Risk_02_RT[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_03_RT[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_04_RT[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Risk_05_RT[/TD]
[TD]X[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]Result[/TD]
[TD]01,03,05[/TD]
[TD]01,02,04[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to replace the X's with the risk number which I can do by using the mid function but as the table is so large is there a quick way of doing this in VBA instead of filtering by each fund and copying the formula down.
Also I need to concatenate the risk numbers to send to our developers with a comma in-between as shown in the example result for Funds A & B.
Thanks in advance!