I have the following data in A1 that has been pasted from another sheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]Category
[/TD]
[TD]Description
[/TD]
[TD]Weight
[/TD]
[TD]Points
[/TD]
[TD]Vendor Score
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 1
[/TD]
[TD]6%
[/TD]
[TD]10
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 2
[/TD]
[TD]6.5%
[/TD]
[TD]10
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 3
[/TD]
[TD]10%
[/TD]
[TD]10
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 4
[/TD]
[TD]7%
[/TD]
[TD]10
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Totals
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In VBA i would like to apply the formula (Vendor Score * Weight) * Points and update the Vendor Score so it looks like so
[TABLE="width: 500"]
<tbody>[TR]
[TD]Category
[/TD]
[TD]Description
[/TD]
[TD]Weight
[/TD]
[TD]Points
[/TD]
[TD]Vendor 1 Score
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 1
[/TD]
[TD]6%
[/TD]
[TD]10
[/TD]
[TD]4.8%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 2
[/TD]
[TD]6.5%
[/TD]
[TD]10
[/TD]
[TD]4.55%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 3
[/TD]
[TD]10%
[/TD]
[TD]10
[/TD]
[TD]6%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 4
[/TD]
[TD]7%
[/TD]
[TD]10
[/TD]
[TD]3.5%
[/TD]
[/TR]
[TR]
[TD]Totals
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The other issue i have is that in Category it could be 4 or 10 or x number of criteria but the last row will always be Totals, likewise with Vendor 1 Score, there could be a number of vendors so Vendor 1 Score, Vendor 2 Score in columns ....
Any help would be awesome...my head hurts
[TABLE="width: 500"]
<tbody>[TR]
[TD]Category
[/TD]
[TD]Description
[/TD]
[TD]Weight
[/TD]
[TD]Points
[/TD]
[TD]Vendor Score
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 1
[/TD]
[TD]6%
[/TD]
[TD]10
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 2
[/TD]
[TD]6.5%
[/TD]
[TD]10
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 3
[/TD]
[TD]10%
[/TD]
[TD]10
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 4
[/TD]
[TD]7%
[/TD]
[TD]10
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Totals
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In VBA i would like to apply the formula (Vendor Score * Weight) * Points and update the Vendor Score so it looks like so
[TABLE="width: 500"]
<tbody>[TR]
[TD]Category
[/TD]
[TD]Description
[/TD]
[TD]Weight
[/TD]
[TD]Points
[/TD]
[TD]Vendor 1 Score
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 1
[/TD]
[TD]6%
[/TD]
[TD]10
[/TD]
[TD]4.8%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 2
[/TD]
[TD]6.5%
[/TD]
[TD]10
[/TD]
[TD]4.55%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 3
[/TD]
[TD]10%
[/TD]
[TD]10
[/TD]
[TD]6%
[/TD]
[/TR]
[TR]
[TD]Criteria
[/TD]
[TD]Description of item 4
[/TD]
[TD]7%
[/TD]
[TD]10
[/TD]
[TD]3.5%
[/TD]
[/TR]
[TR]
[TD]Totals
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The other issue i have is that in Category it could be 4 or 10 or x number of criteria but the last row will always be Totals, likewise with Vendor 1 Score, there could be a number of vendors so Vendor 1 Score, Vendor 2 Score in columns ....
Any help would be awesome...my head hurts