The report I posted only lists software packages whose name: starts with "Microsoft Office", ends in a year (e.g. 2010) and does not contain the word "viewer". I added these filters to prevent all kinds of irrelevant Office tools and components from showing up in the report output.
The only solution I see for a more "accurate" report is for you to manually submit the software names you wish to report on in the SQL query. See sample query below. You'll need to submit the Office installations you wish to report on twice and exactly as they are listed in Add/Remove Programs. If you have Office installations that are listed in Add/Remove Programs simply as "Microsoft Office", you will need to add
Cases to the report to convert those software names to a "full" Office name that includes a version number.
For further modifications, please take some time to
familiarize yourself with SQL first. If you know SQL, you'll be able to understand how our reports work and make changes on your own.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftwareUni.SoftwarePublisher As Publisher,
tsysOS.Image As icon
From tblAssets
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join (Select Top 1000000 tblSoftware.AssetID,
Max(Cast(SubString(tblSoftwareUni.softwareName, CharIndex('20',
tblSoftwareUni.softwareName), 4) As int)) As ShortVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Where tblSoftwareUni.softwareName In (
'Microsoft Office Standard 2010',
'Microsoft Office Professional 2010')
Group By tblSoftware.AssetID) SubQuery1 On SubQuery1.AssetID =
tblSoftware.AssetID And
SubQuery1.ShortVersion = Cast(SubString(tblSoftwareUni.softwareName,
CharIndex('20', tblSoftwareUni.softwareName), 4) As int)
Where tblSoftwareUni.softwareName In (
'Microsoft Office Standard 2010',
'Microsoft Office Professional 2010') And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName,
Software