excel - can't get sumifs to work with a nested function -



excel - can't get sumifs to work with a nested function -

i have set of info 1 column having product ids, , column having values.

i'm looking take sum of column values, if ids have 7 or 9 3rd character. have formula believe insanely close... not there yet...

=sumifs(e3:e821,a3:a821,mid(this,3,1)="7",a3:a821,mid(this,3,1)="9")

my problem, i'm using mid function in criterias, don't know how give variable reference current cell beingness evaluated. if programming in javascript, i'd utilize "this" reference current object, doesn't work in excel. of examples i've been able find have simple criteria don't reference cell in comparison, leaves me @ loss.

can help me figure 1 out?

create helper column c:

=or(mid(a2,3,1)="7",mid(a2,3,1)="9")

sumifs function then:

=sumifs(b:b,c:c,true)

excel

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -