Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Amanda
 
Posts: n/a
Default Count the number of Cells in one ROW with conditions

I have a set of data that I need to count the number of cells in Column D.
Here are the conditions, IF Column C contains the word Owner then count the
number of cells (in that same row) in Column D that contain the word Absent.
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

=SUMPRODUCT(--(C1:C100="Owner"),--(D1:D100="Absent"))

"Amanda" wrote:

I have a set of data that I need to count the number of cells in Column D.
Here are the conditions, IF Column C contains the word Owner then count the
number of cells (in that same row) in Column D that contain the word Absent.

  #3   Report Post  
Richard Buttrey
 
Posts: n/a
Default

On Fri, 9 Sep 2005 07:23:01 -0700, Amanda
wrote:

I have a set of data that I need to count the number of cells in Column D.
Here are the conditions, IF Column C contains the word Owner then count the
number of cells (in that same row) in Column D that contain the word Absent.



Assuming the data is in rows 2:100, then in D1 put the following
formula

=SUM((C2:C100="owner")*(D2:D100="absent"))

It's an array formula so you'll need to enter it with CTRL SHIFT and
Enter

HTH


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
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 designated cells VB Excel Worksheet Functions 1 August 3rd 05 02:25 AM
Counting the number of cells meeting conditional formating criteria Jeff Excel Worksheet Functions 4 July 9th 05 01:18 AM
Count number of times a specific number is displayed in a cell ran subs Excel Worksheet Functions 1 June 27th 05 05:01 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM


All times are GMT +1. The time now is 01:19 PM.

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"