Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Count Cells Using Multiple Citeria

I need to know how many cells in Column H meet 3 different results using
multiple criteria using the following as an example :

G H
6 1000 75.7
7 0 0.00
8 2470 80.33
9 330 58.93
10 5544 69.96
11 408 65.28
12 7633 65.38
14 0 0.00
15 1066 73.52

For the first result, I need to know how many cells are OR=G6 AND OR=H6
For the second result, I need to know how many cells are OR=G6 AND between
<H6 and H6*.9
For the third result, I need to know how many cells are OR=G6 AND between
<H6*.9 and 1.

Thank you in advance for all of your help!!!

  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Count Cells Using Multiple Citeria

I hope I understand correctly, try:

=SUMPRODUCT(--(G7:G14=G6),--(H7:H14=H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<1))



"kjguillermo" wrote:

I need to know how many cells in Column H meet 3 different results using
multiple criteria using the following as an example :

G H
6 1000 75.7
7 0 0.00
8 2470 80.33
9 330 58.93
10 5544 69.96
11 408 65.28
12 7633 65.38
14 0 0.00
15 1066 73.52

For the first result, I need to know how many cells are OR=G6 AND OR=H6
For the second result, I need to know how many cells are OR=G6 AND between
<H6 and H6*.9
For the third result, I need to know how many cells are OR=G6 AND between
<H6*.9 and 1.

Thank you in advance for all of your help!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Count Cells Using Multiple Citeria

JMB-
Most Excellent!!! Worked exactly how I needed it to work! Thanks a bunch!!!

"JMB" wrote:

I hope I understand correctly, try:

=SUMPRODUCT(--(G7:G14=G6),--(H7:H14=H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<1))



"kjguillermo" wrote:

I need to know how many cells in Column H meet 3 different results using
multiple criteria using the following as an example :

G H
6 1000 75.7
7 0 0.00
8 2470 80.33
9 330 58.93
10 5544 69.96
11 408 65.28
12 7633 65.38
14 0 0.00
15 1066 73.52

For the first result, I need to know how many cells are OR=G6 AND OR=H6
For the second result, I need to know how many cells are OR=G6 AND between
<H6 and H6*.9
For the third result, I need to know how many cells are OR=G6 AND between
<H6*.9 and 1.

Thank you in advance for all of your help!!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Count Cells Using Multiple Citeria

Glad to help.

"kjguillermo" wrote:

JMB-
Most Excellent!!! Worked exactly how I needed it to work! Thanks a bunch!!!

"JMB" wrote:

I hope I understand correctly, try:

=SUMPRODUCT(--(G7:G14=G6),--(H7:H14=H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<H6))
=SUMPRODUCT(--(G7:G14=G6),--(H7:H140.9*H6),--(H7:H14<1))



"kjguillermo" wrote:

I need to know how many cells in Column H meet 3 different results using
multiple criteria using the following as an example :

G H
6 1000 75.7
7 0 0.00
8 2470 80.33
9 330 58.93
10 5544 69.96
11 408 65.28
12 7633 65.38
14 0 0.00
15 1066 73.52

For the first result, I need to know how many cells are OR=G6 AND OR=H6
For the second result, I need to know how many cells are OR=G6 AND between
<H6 and H6*.9
For the third result, I need to know how many cells are OR=G6 AND between
<H6*.9 and 1.

Thank you in advance for all of 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
HOW DO I COUNT CELLS WITH DATA BY COLUMN? Warren Excel Worksheet Functions 2 June 30th 06 09:53 AM
Count blank cells containing function IntricateFool Excel Discussion (Misc queries) 3 June 10th 06 12:44 AM
Count if cells have multiple data telewats Excel Worksheet Functions 2 January 20th 06 10:30 PM
make multiple cells in 1 worksheet equal multiple cells in another riley454 Excel Worksheet Functions 1 January 19th 06 03:00 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM


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