Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HOW DO I COUNT CELLS WITH DATA BY COLUMN? | Excel Worksheet Functions | |||
Count blank cells containing function | Excel Discussion (Misc queries) | |||
Count if cells have multiple data | Excel Worksheet Functions | |||
make multiple cells in 1 worksheet equal multiple cells in another | Excel Worksheet Functions | |||
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN | Excel Worksheet Functions |