Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I count instances of a reference?

Hello all,

I have a spreadsheet project I need to complete for a spreadsheet with
multiple worksheets (13 in total, 1 per month and a results page). Each of
the monthly worksheets will contain the same type of data but this data will
vary in quantity. it is for an IT support desk to calculate the number of
times a certain field is populated for each person. Column's A, B & C are
the same data in both worksheets.

Worksheet 1

Column A Column B Column C
Person 1 Field 1 Trigger

Worksheet 2

Column A Column B Column C
Person 1 Field 1 Trigger

Using the data from Worksheet 2 how can I work out in Worksheet 1 how many
'Field 1' and 'Trigger' entries there were for 'Person 1'? Worksheet may
contain tens of thousands of rows with thousands of entries per person but
there should only be one entry for each person on Worksheet 1.

Thanks in advance,

A.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I count instances of a reference?

Try one of these...

Excel 2007 (or later) only. (more efficient that the SUMPRODUCT version)

=COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,B2,Sheet2!C:C,C 2)

Any version of Excel:

=SUMPRODUCT(--(Sheet2!A2:A100=A2),--(Sheet2!B2:B100=B2),--(Sheet2!C2:C100=C2))

Note that you can't use entire columns as range references with SUMPRODUCT
unless you're using Excel 2007 or later.

--
Biff
Microsoft Excel MVP


"Mercian" wrote in message
...
Hello all,

I have a spreadsheet project I need to complete for a spreadsheet with
multiple worksheets (13 in total, 1 per month and a results page). Each
of
the monthly worksheets will contain the same type of data but this data
will
vary in quantity. it is for an IT support desk to calculate the number of
times a certain field is populated for each person. Column's A, B & C are
the same data in both worksheets.

Worksheet 1

Column A Column B Column C
Person 1 Field 1 Trigger

Worksheet 2

Column A Column B Column C
Person 1 Field 1 Trigger

Using the data from Worksheet 2 how can I work out in Worksheet 1 how many
'Field 1' and 'Trigger' entries there were for 'Person 1'? Worksheet may
contain tens of thousands of rows with thousands of entries per person but
there should only be one entry for each person on Worksheet 1.

Thanks in advance,

A.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change All Instances of a Cell Reference in a Formula AlwaysFroosh! Excel Discussion (Misc queries) 5 December 16th 08 08:58 PM
count different instances in a list mmatz Excel Discussion (Misc queries) 3 November 28th 07 08:04 PM
Count Instances of value in two columns KN Excel Worksheet Functions 2 October 24th 07 03:54 AM
Count the number of Instances louiscourtney Excel Discussion (Misc queries) 4 July 12th 07 09:16 PM
Count Instances Ken Excel Discussion (Misc queries) 2 April 2nd 05 12:41 AM


All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"