SUMIF on mirror column

Hi Monday community! :slight_smile:

As you know, using mirror column give us the possibility to display linked values as a sum, a count, etc.
image

Is there a way to display these linked values as a SUMIF?
Making the sum only for a given condition as illustrated below:

Thanks in advance