Reputation: 966
I want to sum the content of some cells only if the corresponding label correspond to a given string.
I used the following formula in B1=SUMIF($E$1:$E$6,"LEFT(E1,13)=A1",$F$1:$F$6)
but the result is not what I expect
Upvotes: 0
Views: 93
Reputation: 1872
Easiest way I can think of is to make another column (say D) that = =Left(E1,13)
Then drag it down...then change your B formulas to =SUMIF($D$1:$D$6,A1,$F$1:$F$6)
Upvotes: 1