otherworlds
New Member
- Joined
- Aug 27, 2019
- Messages
- 5
I have a data feed that contains roughly 3500 rows. Columns are servername, OS, and multiple columns of software names. The data contains the version of software installed on each server. For example as below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Servername[/TD]
[TD]OS[/TD]
[TD]Software1[/TD]
[TD]Software2[/TD]
[TD]Software3[/TD]
[/TR]
[TR]
[TD]server1[/TD]
[TD]Windows Server 2008[/TD]
[TD]3.5[/TD]
[TD]7.6.5454[/TD]
[TD]2.3.44[/TD]
[/TR]
[TR]
[TD]server2[/TD]
[TD]Windows Server 2016[/TD]
[TD]5.1[/TD]
[TD]7.6.7[/TD]
[TD]4.5[/TD]
[/TR]
[TR]
[TD]server3[/TD]
[TD]Windows Server 2008[/TD]
[TD]3.4[/TD]
[TD]7.5.5543[/TD]
[TD]2.3.44[/TD]
[/TR]
[TR]
[TD]server4[/TD]
[TD]Windows Server 2012[/TD]
[TD]4.2[/TD]
[TD]7.6.7[/TD]
[TD]4.5[/TD]
[/TR]
</tbody>[/TABLE]
I need to COUNTIFS the data based on whether the installed version of said software is compliant for the OS.
For example, for Windows Server 2008 the compliant versions of Software1 are 3.5 and 3.6. Any other software versions are non-compliant. I have made a table of compliant versions as below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Software1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Windows Server 2008[/TD]
[TD]Windows Server 2008R2[/TD]
[TD]Windows Server 2012[/TD]
[TD]Windows Server 2012 R2[/TD]
[/TR]
[TR]
[TD]3.5[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]3.6[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
</tbody>[/TABLE]
Bearing in mind there are maybe 20ish different pieces of software that i need to report on, please can anyone offer any advice on how to do this in VBA?
Thanks
[TABLE="width: 500"]
<tbody>[TR]
[TD]Servername[/TD]
[TD]OS[/TD]
[TD]Software1[/TD]
[TD]Software2[/TD]
[TD]Software3[/TD]
[/TR]
[TR]
[TD]server1[/TD]
[TD]Windows Server 2008[/TD]
[TD]3.5[/TD]
[TD]7.6.5454[/TD]
[TD]2.3.44[/TD]
[/TR]
[TR]
[TD]server2[/TD]
[TD]Windows Server 2016[/TD]
[TD]5.1[/TD]
[TD]7.6.7[/TD]
[TD]4.5[/TD]
[/TR]
[TR]
[TD]server3[/TD]
[TD]Windows Server 2008[/TD]
[TD]3.4[/TD]
[TD]7.5.5543[/TD]
[TD]2.3.44[/TD]
[/TR]
[TR]
[TD]server4[/TD]
[TD]Windows Server 2012[/TD]
[TD]4.2[/TD]
[TD]7.6.7[/TD]
[TD]4.5[/TD]
[/TR]
</tbody>[/TABLE]
I need to COUNTIFS the data based on whether the installed version of said software is compliant for the OS.
For example, for Windows Server 2008 the compliant versions of Software1 are 3.5 and 3.6. Any other software versions are non-compliant. I have made a table of compliant versions as below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Software1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Windows Server 2008[/TD]
[TD]Windows Server 2008R2[/TD]
[TD]Windows Server 2012[/TD]
[TD]Windows Server 2012 R2[/TD]
[/TR]
[TR]
[TD]3.5[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]3.6[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
</tbody>[/TABLE]
Bearing in mind there are maybe 20ish different pieces of software that i need to report on, please can anyone offer any advice on how to do this in VBA?
Thanks