Hi Everyone,
First post on the forum - I have been a long time reader of this forum and have been able to search out an answer for every question I have ever had until today so I finally had an excuse to make an account.
I am trying to use the below array formula which is a sumifs to return the sum of values in Table! page column P where multiple criteria are met. Where things get a little wonky is in the underlined section where my criteria range is Table!$K$16:$K$2500 and I am wanting to accept a range of criteria matches from cell reference D7:D11.
This is because D7:D11 contain the weeks in the period IE 5,6,7,8 and I am hoping to get a summed period to date number based on matching the other criteria and having any of the up to 5 weeks match as well.
The formula does not error when entered as an array but for some reason the PTD number where all of the weeks are considered is sometimes less than if I just lookup an individual week....
{=IFERROR(SUMIFS(Table!$P$16:$P$25000,Table!$G$16:$G$25000,'By Article'!J17,Table!$J$16:$J$25000,'By Article'!$D$4,Table!$K$16:$K$25000,$D$7:$D$11,Table!$L$16:$L$25000,VLOOKUP('By Article'!G17,'By Article'!$C$12:$D$13,2,FALSE)),"")}
Thank-you so much in advance!
-Brett
First post on the forum - I have been a long time reader of this forum and have been able to search out an answer for every question I have ever had until today so I finally had an excuse to make an account.
I am trying to use the below array formula which is a sumifs to return the sum of values in Table! page column P where multiple criteria are met. Where things get a little wonky is in the underlined section where my criteria range is Table!$K$16:$K$2500 and I am wanting to accept a range of criteria matches from cell reference D7:D11.
This is because D7:D11 contain the weeks in the period IE 5,6,7,8 and I am hoping to get a summed period to date number based on matching the other criteria and having any of the up to 5 weeks match as well.
The formula does not error when entered as an array but for some reason the PTD number where all of the weeks are considered is sometimes less than if I just lookup an individual week....
{=IFERROR(SUMIFS(Table!$P$16:$P$25000,Table!$G$16:$G$25000,'By Article'!J17,Table!$J$16:$J$25000,'By Article'!$D$4,Table!$K$16:$K$25000,$D$7:$D$11,Table!$L$16:$L$25000,VLOOKUP('By Article'!G17,'By Article'!$C$12:$D$13,2,FALSE)),"")}
Thank-you so much in advance!
-Brett