Sunline
Well-known Member
- Joined
- Oct 6, 2007
- Messages
- 701
- Office Version
- 2016
- Platform
- Windows
Hello all , this function ,
=SUMPRODUCT(--(HK2:IK2="Fast"),--(CC2:DF2="1"),--(CC2:DF2="1="))
Im trying to find first if "Fast" exists in range HK2:IK2 , if not then the rest of the function wont apply so return zero 0 .
If it does exist in range HK2:IK2 then look in range CC2:DF2 and find 1 or 1= and total each occurence when found . IE if there were 1 1 1= 1 1= , this would total answer 5
If nothing found answer zero 0 .
Thanks .
=SUMPRODUCT(--(HK2:IK2="Fast"),--(CC2:DF2="1"),--(CC2:DF2="1="))
Im trying to find first if "Fast" exists in range HK2:IK2 , if not then the rest of the function wont apply so return zero 0 .
If it does exist in range HK2:IK2 then look in range CC2:DF2 and find 1 or 1= and total each occurence when found . IE if there were 1 1 1= 1 1= , this would total answer 5
If nothing found answer zero 0 .
Thanks .