=COUNTIF(Outlook[Week],AK2,Outlook[LoanDescription]="Primary Service")
This formula is not working for me. When I press enter to submit the formula and move down a cell to get the result, it Highlights the word "Service" in the formula bar.
I'm guessing that this formula cannot accomplish what I'm looking for.
What I want to do is count how many cells = "Primary Service" in the Table Range of "Outlook[LoanDescription]" based upon the criteria in Cell AK2 that matches Table Range "Outlook[Week]".
So AK2 = 22 (For week 22)
Sheet2
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 127px"><COL style="WIDTH: 75px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>E</TD><TD>H</TD></TR><TR style="HEIGHT: 34px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: center; COLOR: #ff9900; FONT-SIZE: 4pt; FONT-WEIGHT: bold">LoanDescription</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Week</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1068</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1069</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1070</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; BORDER-LEFT-STYLE: groove; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; FONT-SIZE: 10pt; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>H1068</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR><TR><TD>H1069</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR><TR><TD>H1070</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
This formula is not working for me. When I press enter to submit the formula and move down a cell to get the result, it Highlights the word "Service" in the formula bar.
I'm guessing that this formula cannot accomplish what I'm looking for.
What I want to do is count how many cells = "Primary Service" in the Table Range of "Outlook[LoanDescription]" based upon the criteria in Cell AK2 that matches Table Range "Outlook[Week]".
So AK2 = 22 (For week 22)
Sheet2
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 127px"><COL style="WIDTH: 75px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>E</TD><TD>H</TD></TR><TR style="HEIGHT: 34px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: center; COLOR: #ff9900; FONT-SIZE: 4pt; FONT-WEIGHT: bold">LoanDescription</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Week</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1068</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1069</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1070</TD><TD style="TEXT-ALIGN: center">Primary Service</TD><TD style="TEXT-ALIGN: center">22</TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; BORDER-LEFT-STYLE: groove; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; FONT-SIZE: 10pt; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>H1068</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR><TR><TD>H1069</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR><TR><TD>H1070</TD><TD>=WEEKNUM([@[35 TQ]])</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>