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 04 April 2006, 12:46 PM
  #1  
swaussie
Scooby Regular
Thread Starter
 
swaussie's Avatar
 
Join Date: Jun 2002
Location: Switzerland
Posts: 643
Likes: 0
Received 0 Likes on 0 Posts
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
Old 04 April 2006, 01:54 PM
  #2  
gazza-uk
Scooby Regular
 
gazza-uk's Avatar
 
Join Date: Jan 2006
Location: Yorkshire
Posts: 1,348
Likes: 0
Received 0 Likes on 0 Posts
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
Old 05 April 2006, 07:56 AM
  #3  
swaussie
Scooby Regular
Thread Starter
 
swaussie's Avatar
 
Join Date: Jun 2002
Location: Switzerland
Posts: 643
Likes: 0
Received 0 Likes on 0 Posts
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...
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: Excel scripting



All times are GMT +1. The time now is 03:23 AM.