Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel scripting

Thread Tools
 
Search this Thread
 
Old Apr 4, 2006 | 12:46 PM
  #1  
swaussie's Avatar
swaussie
Thread Starter
Scooby Regular
 
Joined: Jun 2002
Posts: 643
Likes: 0
From: Switzerland
Default Excel scripting

Hi All,
I am trying to do a software license reconciliation at work. I have written a VB Script that searches our servers for installed software and dumps that into a spreadsheet with the server name as the column heading and the software installled on that server listed underneath.

What I cant figure out is how to go through this data and write the name of the software into a new column (or sheet) with a count of how many times it appears in the spreadsheet indicating how many licenses I need.

Some servers have different software so I need a way to scan what has already been counted and listed against what has not yet been counted (i.e, count how many times the string in A3 appears in spreadsheet, write string A3 and how many times it is installed, move to A4 compare to A3, compare to software already counted and if unique count instances and write string A4 and number of instances.... move to B3 compare to A3,A4... Z120 etc, repeat until all entries have been counted).

This is doing my head in
Reply
Old Apr 4, 2006 | 01:54 PM
  #2  
gazza-uk's Avatar
gazza-uk
Scooby Regular
 
Joined: Jan 2006
Posts: 1,348
Likes: 0
From: Yorkshire
Default

Originally Posted by swaussie
Hi All,
I am trying to do a software license reconciliation at work. I have written a VB Script that searches our servers for installed software and dumps that into a spreadsheet with the server name as the column heading and the software installled on that server listed underneath.

What I cant figure out is how to go through this data and write the name of the software into a new column (or sheet) with a count of how many times it appears in the spreadsheet indicating how many licenses I need.

Some servers have different software so I need a way to scan what has already been counted and listed against what has not yet been counted (i.e, count how many times the string in A3 appears in spreadsheet, write string A3 and how many times it is installed, move to A4 compare to A3, compare to software already counted and if unique count instances and write string A4 and number of instances.... move to B3 compare to A3,A4... Z120 etc, repeat until all entries have been counted).

This is doing my head in
Example

A1 = OFFICE

B1:B99 = Scanned Applicaions

=COUNTA(B1:B99,A1) = your answer
Reply
Old Apr 5, 2006 | 07:56 AM
  #3  
swaussie's Avatar
swaussie
Thread Starter
Scooby Regular
 
Joined: Jun 2002
Posts: 643
Likes: 0
From: Switzerland
Default

cheers Gazza-uk.

I tried that and a bit of everything else but found out that if I reformatted the sheet I could macro a Pivot table which seemed the business for the boss...
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
leg200
Subaru Parts
5
Oct 7, 2015 07:31 AM
has-scooby
Subaru Parts
4
Oct 6, 2015 03:47 PM
bluebullet29
General Technical
9
Oct 5, 2015 02:17 PM




All times are GMT +1. The time now is 04:04 PM.