Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Count multiple condition


Hell everyone,

I want to count the cells of column, the condition are
1. column Number is even. such as Column D,F,H...
2. the value if cell is greater then zer0.

How to write the formula , I have no idea.

Thanks


--
whygh
------------------------------------------------------------------------
whygh's Profile: http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Count multiple condition

=SUMPRODUCT((MOD(COLUMN(D2:K20),2)=0)*(D2:K20))

adjust the range to suit

--

HTH

RP
(remove nothere from the email address if mailing direct)


"whygh" wrote in
message ...

Hell everyone,

I want to count the cells of column, the condition are
1. column Number is even. such as Column D,F,H...
2. the value if cell is greater then zer0.

How to write the formula , I have no idea.

Thanks


--
whygh
------------------------------------------------------------------------
whygh's Profile:

http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Count multiple condition

Not to pick Bob but yours Sums. I think whygh was looking for a count. I know
that because you showed me how to do this... :-)
--
HTH...

Jim Thomlinson


"Bob Phillips" wrote:

=SUMPRODUCT((MOD(COLUMN(D2:K20),2)=0)*(D2:K20))

adjust the range to suit

--

HTH

RP
(remove nothere from the email address if mailing direct)


"whygh" wrote in
message ...

Hell everyone,

I want to count the cells of column, the condition are
1. column Number is even. such as Column D,F,H...
2. the value if cell is greater then zer0.

How to write the formula , I have no idea.

Thanks


--
whygh
------------------------------------------------------------------------
whygh's Profile:

http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Count multiple condition


Thank you guys!

I tried

"=SUMPRODUCT((MOD(COLUMN(2:2), 2)=0)*(2:20))"

it works.

AS to
"=SUMPRODUCT((MOD(COLUMN(D2:K20),2)=0)*(D2:K20 ))" ,
It is the sum of the even columns and values greater than zero. I also
use it .

Vivian


--
whygh
------------------------------------------------------------------------
whygh's Profile: http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Count multiple condition

This is for row 2...

=SUMPRODUCT((MOD(COLUMN(2:2), 2)=0)*(2:20))
--
HTH...

Jim Thomlinson


"whygh" wrote:


Hell everyone,

I want to count the cells of column, the condition are
1. column Number is even. such as Column D,F,H...
2. the value if cell is greater then zer0.

How to write the formula , I have no idea.

Thanks


--
whygh
------------------------------------------------------------------------
whygh's Profile: http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965




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 until condition is met and then retain final count Fats Excel Discussion (Misc queries) 2 December 24th 09 01:21 AM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
helps with count under multiple condition Cam Excel Discussion (Misc queries) 1 March 7th 07 08:08 PM
What formula/fn would I use to count multiple condition records? Joshcat99 Excel Worksheet Functions 3 October 27th 05 01:45 AM
how to count unique entries with multiple condition Michael Excel Worksheet Functions 6 June 29th 05 12:38 PM


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