Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Question Involving COUNTIF and Possibly DCOUNTA

Hi Derek

Try
=SUMPRODUCT((A1:A11="N")*(B1:B11={4,5}))



--
Regards
Roger Govier



"Derek" wrote in message
...
Hi, first time poster, long time reader here.

My question maybe quite basic so please bear with me.

What I am trying to do is to count the number of "N"s in a column that
happen to be in the same row with another column that shows a 4 or 5.

To illustrate:

N 5
Y
Y
Y
N 4
Y
N 5
Y

Y
N 1

As you can see above, both the first and second column can contain blanks.
The formula I am trying to get is to count the number of "Y"s in column 1
(already know how) and add that to the number of "N"s which correspond
with a
4 or 5 in column 2 (column 2 is only filled if column 1 shows an N, and
contains one of the numbers between 1 to 5)

I hope that made sense.

Thanks in advance for your help!



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
Question Involving COUNTIF and Possibly DCOUNTA Peo Sjoblom Excel Worksheet Functions 0 July 31st 07 06:28 PM
Question Involving COUNTIF and Possibly DCOUNTA T. Valko Excel Worksheet Functions 0 July 31st 07 06:28 PM
DCOUNTA Complex Criteria Question Elliot Colbert Excel Worksheet Functions 5 June 19th 06 10:57 PM
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How to countif involving another column? Bruce Norris Excel Worksheet Functions 11 April 5th 05 07:00 AM


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