Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Count No of Engagements

I have a table that 1240 rows and 300 columns. The main column field that we
use to summarise the data via pivot tables is the engagement column. The
eng# is unique however it can appear in that column more than once because
there are services within that engagement and that is also in the table.

How can I count the number of engagements but not the number of entries in
the table (if I say count then it gives me 1240 obviously).

A sample will be:

Eng # EMID Service #
12A 1 57477
12A 1 57485
12A 1 60000
13A 50 57486
14A 5 57999

so if i ask for the count of engagements the result I want to get is 3.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Count No of Engagements

The below formula should give you the number of engagements...

=SUMPRODUCT((A2:A1240<"")/COUNTIF(A2:A1240,A2:A1240&""))

If this post helps click Yes
---------------
Jacob Skaria


"ogerriz" wrote:

I have a table that 1240 rows and 300 columns. The main column field that we
use to summarise the data via pivot tables is the engagement column. The
eng# is unique however it can appear in that column more than once because
there are services within that engagement and that is also in the table.

How can I count the number of engagements but not the number of entries in
the table (if I say count then it gives me 1240 obviously).

A sample will be:

Eng # EMID Service #
12A 1 57477
12A 1 57485
12A 1 60000
13A 50 57486
14A 5 57999

so if i ask for the count of engagements the result I want to get is 3.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Count No of Engagements

If you have no blank cells in your data. The formula can be simplified

=SUMPRODUCT(1/COUNTIF(A2:A6,A2:A6))


"ogerriz" wrote:

I have a table that 1240 rows and 300 columns. The main column field that we
use to summarise the data via pivot tables is the engagement column. The
eng# is unique however it can appear in that column more than once because
there are services within that engagement and that is also in the table.

How can I count the number of engagements but not the number of entries in
the table (if I say count then it gives me 1240 obviously).

A sample will be:

Eng # EMID Service #
12A 1 57477
12A 1 57485
12A 1 60000
13A 50 57486
14A 5 57999

so if i ask for the count of engagements the result I want to get is 3.

Thanks

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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 09:41 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"