Google Sheets Formula: Sum if Substring in range of cells
问题 I have two columns: Col A Col B 01.02.2020 17 03.11.2020 24 03.11.2020 12 I tried to sum Col B, based on the substring of Col A like so: =SUMIF(A:A,MID(A:A,4,2)="02",B:B) =SUMIF(A:A,MID(A:A,4,2)="11",B:B) Which means: If it's the second (XX.02.XXXX) month, it should sum the values from Col B based on that. If it's the 11th month (XX.11.XXXX) in Col A, it should do the same but for cells where Col A has 11. However, it doesn't work. Apparently, one cannot do the MID function over more than one