Phosphonothioic
Board Regular
- Joined
- Sep 27, 2009
- Messages
- 194
I have entries in column A. Some are 3 characters long, some are 4. Then I have values associated to them in column B
Example
A B
A100 1
A200 3
B70 4
C455 2
X35 3
B27 2
I want to do the following:
Look at each entry in A and if it is 3 characters long sum the values in B based on the first character in A. So, I would want to return '6' when I evaluated this list for 3 charter entries starting with 'B'. And 3 if I changed the parameter to 'X'.
Is there some type of sumproduct/len/? that will do this?
Thanks!
Example
A B
A100 1
A200 3
B70 4
C455 2
X35 3
B27 2
I want to do the following:
Look at each entry in A and if it is 3 characters long sum the values in B based on the first character in A. So, I would want to return '6' when I evaluated this list for 3 charter entries starting with 'B'. And 3 if I changed the parameter to 'X'.
Is there some type of sumproduct/len/? that will do this?
Thanks!