mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,302
- Office Version
- 365
- 2016
- Platform
- Windows
Hi Guys
I have some formula in a1:a7 =IF(H1="","",H1)
and in b1:b7, i have the count of each week
say i have
12 weeks = 2
4 Weeks = 1
8 Weeks = 3
2 Weeks = 2
Blank cell = Blank cell
Blank Cell = Blank cell
Blank Cell = Blank cell
What i want to do is have a formula that will count every thing that is >=8 Weeks
>=3 BUT LESS THAN 8 ETC....
This the formula i have but get a value error which is the part i need to get around (for the left function) (The Blank cells)
=SUMPRODUCT(--($A$1:$A$7<>""),--(LEFT($A$1:$A$7,2)+0>8),$B$1:$B$7)
This is what i get broken down
{1;1;1;1;0;0;0}, {1;0;1;0;#VALUE!;#VALUE!;#VALUE!}, {2;1;3;2;0;0;0}
Its just the value error that i need to get around
I have some formula in a1:a7 =IF(H1="","",H1)
and in b1:b7, i have the count of each week
say i have
12 weeks = 2
4 Weeks = 1
8 Weeks = 3
2 Weeks = 2
Blank cell = Blank cell
Blank Cell = Blank cell
Blank Cell = Blank cell
What i want to do is have a formula that will count every thing that is >=8 Weeks
>=3 BUT LESS THAN 8 ETC....
This the formula i have but get a value error which is the part i need to get around (for the left function) (The Blank cells)
=SUMPRODUCT(--($A$1:$A$7<>""),--(LEFT($A$1:$A$7,2)+0>8),$B$1:$B$7)
This is what i get broken down
{1;1;1;1;0;0;0}, {1;0;1;0;#VALUE!;#VALUE!;#VALUE!}, {2;1;3;2;0;0;0}
Its just the value error that i need to get around
Last edited: