Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Dubai, U.A.E.
Posts: 1
Send a message via MSN to rwenger
Default Counting Cells in a column depending on another column but excluding duplicates

Hello,
I would like to count the total in a column depending on another column, but exclude duplicates.
I my case I would like to know how many employees (column A) have taken a course in 2010 (column B). Column A has duplicate names. Column B has 2009 and 2010 as the year the course was taken. I want to count 2009 and 2010 separately. I named the range of column A course_attendees and column B course_taken

Name Course Year
Wilbert Bugay 2009
Wilbert Bugay 2009
Zahid Gul 2009
Zin Minn Lwin 2009
Zin Minn Lwin 2009
Shivanand Sampengi 2010
P S Rajesh 2010
C P Susheendran 2010
Raghavan Santosh 2010
Shibith Koran 2010
Vavakassim Azeez 2010
Shivanand Sampengi 2010
Rachel Padre 2010
P S Rajesh 2010
V U Radhakrishnan 2010


I have tried the following formula, but it gives me the incorrect answer

=SUMPRODUCT(--(course_year=2010)*(Course_attendees<"")/COUNTIF(Course_attendees,Course_attendees&""))

Can anyone help me?

Thank you.

Rene
Attached Images
File Type: pdf Book2.pdf (8.8 KB, 333 views)

Last edited by rwenger : April 11th 10 at 02:10 PM
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
Counting depending on another column Sungibungi Excel Worksheet Functions 4 March 6th 10 10:03 AM
Count a value excluding duplicates depending on a set criteria Jum Excel Worksheet Functions 1 February 2nd 10 08:00 AM
Requesting Help with Counting in a Pivot but Excluding Duplicates Toria Excel Worksheet Functions 3 March 11th 08 03:23 AM
Counting non-blank cells in a column, excluding hidden rows SisterDell Excel Worksheet Functions 3 June 1st 07 04:31 PM
Counting Names in a Column, Ignoring Duplicates Bruce Excel Discussion (Misc queries) 8 March 18th 07 02:01 PM


All times are GMT +1. The time now is 05:19 AM.

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

About Us

"It's about Microsoft Excel"