Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry, Im not thinking my questions through proply and missing bits of.
Ok if I have in range a1:a13 the letters H or S, doesnt matter on order or how many of each. Then in b1:b13 I have numbers 1 through to 13. Is it possible to count how many in b1:b13 are greater that 3 if a1:a13 = S. For instance a1 = h b1 = 5 a2 =s b2 = 1 a3 = s b3 = 4 a4 = h b4 = 10 etc therefore only 1 meets my criteria. Id like ti use a worksheet function if possible. Regards Robert |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i'm no sumproduct expert like bob p, but i'll take a stab
give this a try =SUMPRODUCT(-(A1:A4="s"),-(B1:B43),B1:B4) -- Gary "RobcPettit" wrote in message ps.com... Sorry, Im not thinking my questions through proply and missing bits of. Ok if I have in range a1:a13 the letters H or S, doesnt matter on order or how many of each. Then in b1:b13 I have numbers 1 through to 13. Is it possible to count how many in b1:b13 are greater that 3 if a1:a13 = S. For instance a1 = h b1 = 5 a2 =s b2 = 1 a3 = s b3 = 4 a4 = h b4 = 10 etc therefore only 1 meets my criteria. Id like ti use a worksheet function if possible. Regards Robert |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thankyou for your reply. I added your formula and when i deleted the
last part b1:b4 it worked perfect. Regards Robert Gary Keramidas wrote: i'm no sumproduct expert like bob p, but i'll take a stab give this a try =SUMPRODUCT(-(A1:A4="s"),-(B1:B43),B1:B4) -- Gary "RobcPettit" wrote in message ps.com... Sorry, Im not thinking my questions through proply and missing bits of. Ok if I have in range a1:a13 the letters H or S, doesnt matter on order or how many of each. Then in b1:b13 I have numbers 1 through to 13. Is it possible to count how many in b1:b13 are greater that 3 if a1:a13 = S. For instance a1 = h b1 = 5 a2 =s b2 = 1 a3 = s b3 = 4 a4 = h b4 = 10 etc therefore only 1 meets my criteria. Id like ti use a worksheet function if possible. Regards Robert |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
countif | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |