Here's my solution
Ok, Here's my solution, it's based on columns A-E containing the data that needs to be processed. Column A is for Level A, Column B is for Level B and so on.
Columns F-J contain the count total for each column respectively. IE Column F is counting the number of rows that contain data in column A, Column G is counting the number of rows that contain data in column B etc...
The output of the script is set to put the information in columns K-O.
So far the script is working for what I need, I'm sure there could be plenty of tweaks and bugs though...
<font face=Courier New><SPAN style="color:#00007F">Sub</SPAN> Populate()
Total = Cells(1, 6).Value * Cells(1, 7).Value * Cells(1, 8).Value * Cells(1, 9).Value * Cells(1, 10).Value
<SPAN style="color:#007F00">''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Column 1</SPAN>
Column1 = Cells(1, 7).Value * Cells(1, 8).Value * Cells(1, 9).Value * Cells(1, 10).Value
x = 1
<SPAN style="color:#00007F">For</SPAN> u = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 6).Value
<SPAN style="color:#00007F">For</SPAN> i = 1 <SPAN style="color:#00007F">To</SPAN> Column1
Cells(x, 11).Value = Cells(u, 1)
x = x + 1
<SPAN style="color:#00007F">Next</SPAN> i
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#007F00">''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Column 2</SPAN>
Column2 = Cells(1, 8).Value * Cells(1, 9).Value * Cells(1, 10).Value
x = 1
<SPAN style="color:#00007F">For</SPAN> y = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 6).Value
<SPAN style="color:#00007F">For</SPAN> u = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 7).Value
<SPAN style="color:#00007F">For</SPAN> i = 1 <SPAN style="color:#00007F">To</SPAN> Column2
Cells(x, 12).Value = Cells(u, 2)
x = x + 1
<SPAN style="color:#00007F">Next</SPAN> i
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#007F00">'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Column 3</SPAN>
Column3 = Cells(1, 9).Value * Cells(1, 10).Value
x = 1
<SPAN style="color:#00007F">For</SPAN> y = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 6).Value * Cells(1, 7).Value
<SPAN style="color:#00007F">For</SPAN> u = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 8).Value
<SPAN style="color:#00007F">For</SPAN> i = 1 <SPAN style="color:#00007F">To</SPAN> Column3
Cells(x, 13).Value = Cells(u, 3)
x = x + 1
<SPAN style="color:#00007F">Next</SPAN> i
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#007F00">'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Column 4</SPAN>
Column4 = Cells(1, 10).Value
x = 1
<SPAN style="color:#00007F">For</SPAN> y = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 6).Value * Cells(1, 7).Value * Cells(1, 8).Value
<SPAN style="color:#00007F">For</SPAN> u = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 9).Value
<SPAN style="color:#00007F">For</SPAN> i = 1 <SPAN style="color:#00007F">To</SPAN> Column4
Cells(x, 14).Value = Cells(u, 4)
x = x + 1
<SPAN style="color:#00007F">Next</SPAN> i
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#007F00">'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Column 5</SPAN>
Column5 = Cells(1, 11).Value
x = 1
<SPAN style="color:#00007F">For</SPAN> y = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 6).Value * Cells(1, 7).Value * Cells(1, 8).Value * Cells(1, 9).Value
<SPAN style="color:#00007F">For</SPAN> u = 1 <SPAN style="color:#00007F">To</SPAN> Cells(1, 10).Value
<SPAN style="color:#00007F">For</SPAN> i = 1 <SPAN style="color:#00007F">To</SPAN> Column5
Cells(x, 15).Value = Cells(u, 5)
x = x + 1
<SPAN style="color:#00007F">Next</SPAN> i
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN>
</FONT>