J
JRF
I am trying to do an =SUMIF based on the first two charactors of a
column of data. In other words the data:
A B
== =
20 3
20 5
25 7
25 11
Would return 8 for the function =sumif(A:A,"=20",B:B) but if the data
were:
A B
==== =
20123 3
20232 5
25435 7
25454 11
I'd like to use a function something like =sumif(left(A:A,2),"=20",B:B)
and get the value 8 returned.
I'd rather not create a new column and extract the first two positions,
for reasons that are too long to go into.
Any ideas?
column of data. In other words the data:
A B
== =
20 3
20 5
25 7
25 11
Would return 8 for the function =sumif(A:A,"=20",B:B) but if the data
were:
A B
==== =
20123 3
20232 5
25435 7
25454 11
I'd like to use a function something like =sumif(left(A:A,2),"=20",B:B)
and get the value 8 returned.
I'd rather not create a new column and extract the first two positions,
for reasons that are too long to go into.
Any ideas?