Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - count a value which appears multiple times in a worksheet across

Reply
 
Old 02-09-2009   #1 (permalink)
Rishikesh Khedkar


 
 

count a value which appears multiple times in a worksheet across

SUBJECT: count a value which appears multiple times in a worksheet across
multiple worksheet.

Scenerio: I am a network engineer. I am done with an assessment at a client
who has many sites/closets. Now every site is a worksheet. Every column is a
device in the respective site. Every row is a parameter like switch name,
make model, qos enabled or not, total number of ports, no. of free ports etc
etc. There are 19 worksheets (Sites). The 20th worksheet is the summary. In
this sheet, I want to know 1. what are the different type(make model) of
switches available for all the sites in one column(Column A) and a count of
every type of switch(make model) in column B.

I achieved this using =COUNTIF('Sheet 1'!1:65536, "WS-C4503")+COUNTIF('Sheet
2'!1:65536, "WS-C4503")+COUNTIF('Sheet 3'!1:65536, "WS-C4503") ....till sheet
19

I want to know if there is a smarter way of doing this

Rishikesh Khedkar

My System SpecsSystem Spec
Old 02-09-2009   #2 (permalink)
PvdG42


 
 

Re: count a value which appears multiple times in a worksheet across


"Rishikesh Khedkar" <Rishikesh Khedkar@xxxxxx> wrote in
message news:8D9DA8BD-D6B8-4E80-BDE9-8D5159C1B6D1@xxxxxx
Quote:

> SUBJECT: count a value which appears multiple times in a worksheet across
> multiple worksheet.
>
> Scenerio: I am a network engineer. I am done with an assessment at a
> client
> who has many sites/closets. Now every site is a worksheet. Every column is
> a
> device in the respective site. Every row is a parameter like switch name,
> make model, qos enabled or not, total number of ports, no. of free ports
> etc
> etc. There are 19 worksheets (Sites). The 20th worksheet is the summary.
> In
> this sheet, I want to know 1. what are the different type(make model) of
> switches available for all the sites in one column(Column A) and a count
> of
> every type of switch(make model) in column B.
>
> I achieved this using =COUNTIF('Sheet 1'!1:65536,
> "WS-C4503")+COUNTIF('Sheet
> 2'!1:65536, "WS-C4503")+COUNTIF('Sheet 3'!1:65536, "WS-C4503") ....till
> sheet
> 19
>
> I want to know if there is a smarter way of doing this
>
> Rishikesh Khedkar
A properly designed database would make more sense for storing the data you
describe. It would be much simpler to obtain any needed summary data. If you
want to use Excel, you need to ask this question in a discussion group for
Excel. This is a .NET programming group.

To find the group you need:

As you appear to be using a web interface, start here:

http://www.microsoft.com/communities...s/default.aspx

In the tree on the left, first open the English category, then open Office
and Desktop Applications. In Office and Desktop Applications, find and open
the Excel category. There, you'll find a group for your question.



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Count number of times a box is ticked in Access 2003 Microsoft Office
Email Sends Multiple Times Live Mail
Copying pictures multiple times Vista music pictures video
Offline folder appears three times in sync center Vista General
DVD Drive only some times appears Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46