Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
Hello,
Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
=Sumproduct((E3:E200<=30)*(F3:F200=H5)) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "RoadKill" wrote in message ... Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
Maybe this
=SUMPRODUCT((F3:F200=H5)*(E3:E200<"")*(E3:E200<=3 0)) Mike "RoadKill" wrote: Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
=SUMPRODUCT((F3:F200=H5)*(E3:E200<=30))
-- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "RoadKill" wrote: Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
All work great.
If you can help me one more time though. How about if in E if the number falls between 31 and 60. From there I should be able to do the next incarnation of 61 and 90. Thanks much "RoadKill" wrote: Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
One mo
=SUMPRODUCT(--(E3:E200<""),--(E3:E200<=30),--(F3:F200=H5)) -- Biff Microsoft Excel MVP "RoadKill" wrote in message ... Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
COUNTIF With Conditions
Try this:
=SUMPRODUCT(--(E3:E200<""),--(E3:E200=31),--(E3:200<=60),--(F3:F200=H5)) Better if you use clls to hold the criteria: A1 = 31 B1 = 60 =SUMPRODUCT(--(E3:E200<""),--(E3:E200=A1),--(E3:200<=B1),--(F3:F200=H5)) -- Biff Microsoft Excel MVP "RoadKill" wrote in message ... All work great. If you can help me one more time though. How about if in E if the number falls between 31 and 60. From there I should be able to do the next incarnation of 61 and 90. Thanks much "RoadKill" wrote: Hello, Here is my current formula: =COUNTIF(F3:F200, H5) What I would like it to do is to count the instances of H5 within that range of F3:F100 as long as the corresponding Row in Column E is equal to or less than 30. The range of Column E is obviously the same as F so E3:E200. So something like COUNTIF(F3:F200, H5, IF(E3:E200<=30)) Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Countif Conditions - Use of conditions that vary by cell value | Excel Discussion (Misc queries) | |||
Countif with 2 conditions | Excel Worksheet Functions | |||
COUNTIF with two conditions | Excel Discussion (Misc queries) | |||
Using countif with 2 conditions | Excel Worksheet Functions | |||
countif two conditions | Excel Discussion (Misc queries) |