Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
KL KL is offline
external usenet poster
 
Posts: 201
Default how do I use COUNTIF in excel. using criteria from multiple colums

Hi Bob,

I have re-read the original post and I am still not sure if Teresa wants to
count the rows whe

1) at least one of the cells D# and I# are greater than 0
or
2) both cells D# and I# are greater than 0 at the same time

....but it may be my English :-)

Regards,
KL


"Bob Phillips" wrote in message
...
I read it as

=SUMPRODUCT(--(D5:D1930),--(I5:I1930))

--
HTH

Bob Phillips

"KL" wrote in message
...
Try:

=SUMPRODUCT(--((D5:D1930)+(I5:I1930)0))

Regards,
KL


"Zuki" wrote in message
...
count number of matching cells in to colums where their value are

greater
than 0. i.e. D5:D193 and I5:I192 - all corresponding cells from the two
ranges that have value of more than zero to be counted as one

occurrance.
(D8
value 2 and I8 value 4, to be counted as one)







  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default how do I use COUNTIF in excel. using criteria from multiple colums

Hi KL,

I could see where your thinking came from , it wasn't clear, and that is not
just your English :-).

--
HTH

Bob Phillips

"KL" wrote in message
...
Hi Bob,

I have re-read the original post and I am still not sure if Teresa wants

to
count the rows whe

1) at least one of the cells D# and I# are greater than 0
or
2) both cells D# and I# are greater than 0 at the same time

...but it may be my English :-)

Regards,
KL


"Bob Phillips" wrote in message
...
I read it as

=SUMPRODUCT(--(D5:D1930),--(I5:I1930))

--
HTH

Bob Phillips

"KL" wrote in message
...
Try:

=SUMPRODUCT(--((D5:D1930)+(I5:I1930)0))

Regards,
KL


"Zuki" wrote in message
...
count number of matching cells in to colums where their value are

greater
than 0. i.e. D5:D193 and I5:I192 - all corresponding cells from the

two
ranges that have value of more than zero to be counted as one

occurrance.
(D8
value 2 and I8 value 4, to be counted as one)








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
Excel Formula to evaluate multiple criteria (countif + and) VPSales Excel Worksheet Functions 2 March 18th 09 02:05 AM
COUNTIF function query for multiple colums Malcolm Gordon Excel Worksheet Functions 5 April 10th 06 08:10 AM
How do I COUNTIF in excel using multiple criteria? DJ_Swammi Excel Worksheet Functions 3 December 1st 05 04:16 PM
EXCEL multiple criteria in countif function tvbrower Excel Programming 3 July 16th 04 07:56 PM
EXCEL multiple criteria in countif function Robert[_22_] Excel Programming 10 June 17th 04 03:18 PM


All times are GMT +1. The time now is 04:22 PM.

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"