Hello,
I can't figure out how to do this and need some help.
Here's my data:
Sheet1
<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: 89px"><COL style="WIDTH: 89px"><COL style="WIDTH: 19px"><COL style="WIDTH: 102px"><COL style="WIDTH: 19px"><COL style="WIDTH: 89px"><COL style="WIDTH: 19px"><COL style="WIDTH: 96px"><COL style="WIDTH: 19px"><COL style="WIDTH: 141px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD><TD>J</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD>ID</TD><TD>Check</TD><TD></TD><TD>Unique ID Count</TD><TD></TD><TD>Unique ID List</TD><TD></TD><TD>ID With Criteria</TD><TD></TD><TD>Unique ID With Criteria</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="TEXT-ALIGN: right">123456</TD><TD>Yes</TD><TD></TD><TD style="TEXT-ALIGN: right">10</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right">123456</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123457</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right">123457</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right">123457</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123459</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right">123458</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123460</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right">123458</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right">123459</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123462</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right">123459</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right">123460</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123464</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right">123460</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: right">123461</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: right">123461</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: right">123462</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: right">123462</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: right">123463</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: right">123463</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="TEXT-ALIGN: right">123464</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: right">123464</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD style="TEXT-ALIGN: right">123465</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD style="TEXT-ALIGN: right">123465</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; 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>D2</TD><TD>{=SUM(IF(FREQUENCY(IF(A2:A21<>"",MATCH("~"&A2:A21,A2:A21&"",0)),ROW(A2:A21)-ROW(A2)+1),1))}</TD></TR><TR><TD>F2</TD><TD>{=IF(ROWS(F$2:F2)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F1,A$2:A$21),0)),"")}</TD></TR><TR><TD>H2</TD><TD>{=IF(ROWS(H$2:H2)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H2))),"")}</TD></TR><TR><TD>F3</TD><TD>{=IF(ROWS(F$2:F3)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F2,A$2:A$21),0)),"")}</TD></TR><TR><TD>H3</TD><TD>{=IF(ROWS(H$2:H3)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H3))),"")}</TD></TR><TR><TD>F4</TD><TD>{=IF(ROWS(F$2:F4)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F3,A$2:A$21),0)),"")}</TD></TR><TR><TD>H4</TD><TD>{=IF(ROWS(H$2:H4)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H4))),"")}</TD></TR><TR><TD>F5</TD><TD>{=IF(ROWS(F$2:F5)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F4,A$2:A$21),0)),"")}</TD></TR><TR><TD>H5</TD><TD>{=IF(ROWS(H$2:H5)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H5))),"")}</TD></TR><TR><TD>F6</TD><TD>{=IF(ROWS(F$2:F6)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F5,A$2:A$21),0)),"")}</TD></TR><TR><TD>H6</TD><TD>{=IF(ROWS(H$2:H6)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H6))),"")}</TD></TR><TR><TD>F7</TD><TD>{=IF(ROWS(F$2:F7)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F6,A$2:A$21),0)),"")}</TD></TR><TR><TD>H7</TD><TD>{=IF(ROWS(H$2:H7)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H7))),"")}</TD></TR><TR><TD>F8</TD><TD>{=IF(ROWS(F$2:F8)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F7,A$2:A$21),0)),"")}</TD></TR><TR><TD>H8</TD><TD>{=IF(ROWS(H$2:H8)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H8))),"")}</TD></TR><TR><TD>F9</TD><TD>{=IF(ROWS(F$2:F9)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F8,A$2:A$21),0)),"")}</TD></TR><TR><TD>H9</TD><TD>{=IF(ROWS(H$2:H9)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H9))),"")}</TD></TR><TR><TD>F10</TD><TD>{=IF(ROWS(F$2:F10)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F9,A$2:A$21),0)),"")}</TD></TR><TR><TD>H10</TD><TD>{=IF(ROWS(H$2:H10)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H10))),"")}</TD></TR><TR><TD>F11</TD><TD>{=IF(ROWS(F$2:F11)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F10,A$2:A$21),0)),"")}</TD></TR><TR><TD>H11</TD><TD>{=IF(ROWS(H$2:H11)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H11))),"")}</TD></TR><TR><TD>H12</TD><TD>{=IF(ROWS(H$2:H12)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H12))),"")}</TD></TR><TR><TD>H13</TD><TD>{=IF(ROWS(H$2:H13)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H13))),"")}</TD></TR><TR><TD>H14</TD><TD>{=IF(ROWS(H$2:H14)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H14))),"")}</TD></TR><TR><TD>H15</TD><TD>{=IF(ROWS(H$2:H15)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H15))),"")}</TD></TR><TR><TD>H16</TD><TD>{=IF(ROWS(H$2:H16)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H16))),"")}</TD></TR><TR><TD>H17</TD><TD>{=IF(ROWS(H$2:H17)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H17))),"")}</TD></TR><TR><TD>H18</TD><TD>{=IF(ROWS(H$2:H18)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H18))),"")}</TD></TR><TR><TD>H19</TD><TD>{=IF(ROWS(H$2:H19)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H19))),"")}</TD></TR><TR><TD>H20</TD><TD>{=IF(ROWS(H$2:H20)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H20))),"")}</TD></TR><TR><TD>H21</TD><TD>{=IF(ROWS(H$2:H21)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H21))),"")}</TD></TR></TBODY></TABLE></TD></TR><TR><TD>Formula Array:
Produce enclosing { } by entering
formula with CTRL+SHIFT+ENTER!
</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
I want to create a unique list of values (i.e. no duplicates) that also considers a criteria in a different Column.
So my list is in Cells A1:A21, including the headers, and I want a formula to create a list of unique IDs where Column B equals "Yes".
I know how to get a unique count, generate a unique list, as well as to create a list based on a criteria, but I can't get the syntax right to create what I have manually created in Column J.
Can anyone help, please?
Thanks,
Matty
I can't figure out how to do this and need some help.
Here's my data:
Sheet1
<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: 89px"><COL style="WIDTH: 89px"><COL style="WIDTH: 19px"><COL style="WIDTH: 102px"><COL style="WIDTH: 19px"><COL style="WIDTH: 89px"><COL style="WIDTH: 19px"><COL style="WIDTH: 96px"><COL style="WIDTH: 19px"><COL style="WIDTH: 141px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD><TD>J</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD>ID</TD><TD>Check</TD><TD></TD><TD>Unique ID Count</TD><TD></TD><TD>Unique ID List</TD><TD></TD><TD>ID With Criteria</TD><TD></TD><TD>Unique ID With Criteria</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="TEXT-ALIGN: right">123456</TD><TD>Yes</TD><TD></TD><TD style="TEXT-ALIGN: right">10</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right">123456</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123457</TD><TD></TD><TD style="TEXT-ALIGN: right">123456</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right">123457</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right">123457</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123459</TD><TD></TD><TD style="TEXT-ALIGN: right">123458</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right">123458</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123460</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right">123458</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD style="TEXT-ALIGN: right">123461</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right">123459</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123462</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right">123459</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD style="TEXT-ALIGN: right">123463</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right">123460</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123464</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right">123460</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD style="TEXT-ALIGN: right">123465</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: right">123461</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: right">123461</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: right">123462</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: right">123462</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: right">123463</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: right">123463</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="TEXT-ALIGN: right">123464</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: right">123464</TD><TD>No</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD style="TEXT-ALIGN: right">123465</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD style="TEXT-ALIGN: right">123465</TD><TD>Yes</TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; 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>D2</TD><TD>{=SUM(IF(FREQUENCY(IF(A2:A21<>"",MATCH("~"&A2:A21,A2:A21&"",0)),ROW(A2:A21)-ROW(A2)+1),1))}</TD></TR><TR><TD>F2</TD><TD>{=IF(ROWS(F$2:F2)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F1,A$2:A$21),0)),"")}</TD></TR><TR><TD>H2</TD><TD>{=IF(ROWS(H$2:H2)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H2))),"")}</TD></TR><TR><TD>F3</TD><TD>{=IF(ROWS(F$2:F3)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F2,A$2:A$21),0)),"")}</TD></TR><TR><TD>H3</TD><TD>{=IF(ROWS(H$2:H3)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H3))),"")}</TD></TR><TR><TD>F4</TD><TD>{=IF(ROWS(F$2:F4)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F3,A$2:A$21),0)),"")}</TD></TR><TR><TD>H4</TD><TD>{=IF(ROWS(H$2:H4)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H4))),"")}</TD></TR><TR><TD>F5</TD><TD>{=IF(ROWS(F$2:F5)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F4,A$2:A$21),0)),"")}</TD></TR><TR><TD>H5</TD><TD>{=IF(ROWS(H$2:H5)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H5))),"")}</TD></TR><TR><TD>F6</TD><TD>{=IF(ROWS(F$2:F6)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F5,A$2:A$21),0)),"")}</TD></TR><TR><TD>H6</TD><TD>{=IF(ROWS(H$2:H6)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H6))),"")}</TD></TR><TR><TD>F7</TD><TD>{=IF(ROWS(F$2:F7)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F6,A$2:A$21),0)),"")}</TD></TR><TR><TD>H7</TD><TD>{=IF(ROWS(H$2:H7)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H7))),"")}</TD></TR><TR><TD>F8</TD><TD>{=IF(ROWS(F$2:F8)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F7,A$2:A$21),0)),"")}</TD></TR><TR><TD>H8</TD><TD>{=IF(ROWS(H$2:H8)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H8))),"")}</TD></TR><TR><TD>F9</TD><TD>{=IF(ROWS(F$2:F9)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F8,A$2:A$21),0)),"")}</TD></TR><TR><TD>H9</TD><TD>{=IF(ROWS(H$2:H9)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H9))),"")}</TD></TR><TR><TD>F10</TD><TD>{=IF(ROWS(F$2:F10)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F9,A$2:A$21),0)),"")}</TD></TR><TR><TD>H10</TD><TD>{=IF(ROWS(H$2:H10)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H10))),"")}</TD></TR><TR><TD>F11</TD><TD>{=IF(ROWS(F$2:F11)<=D$2,INDEX(A$2:A$21,MATCH(0,COUNTIF(F$1:F10,A$2:A$21),0)),"")}</TD></TR><TR><TD>H11</TD><TD>{=IF(ROWS(H$2:H11)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H11))),"")}</TD></TR><TR><TD>H12</TD><TD>{=IF(ROWS(H$2:H12)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H12))),"")}</TD></TR><TR><TD>H13</TD><TD>{=IF(ROWS(H$2:H13)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H13))),"")}</TD></TR><TR><TD>H14</TD><TD>{=IF(ROWS(H$2:H14)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H14))),"")}</TD></TR><TR><TD>H15</TD><TD>{=IF(ROWS(H$2:H15)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H15))),"")}</TD></TR><TR><TD>H16</TD><TD>{=IF(ROWS(H$2:H16)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H16))),"")}</TD></TR><TR><TD>H17</TD><TD>{=IF(ROWS(H$2:H17)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H17))),"")}</TD></TR><TR><TD>H18</TD><TD>{=IF(ROWS(H$2:H18)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H18))),"")}</TD></TR><TR><TD>H19</TD><TD>{=IF(ROWS(H$2:H19)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H19))),"")}</TD></TR><TR><TD>H20</TD><TD>{=IF(ROWS(H$2:H20)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H20))),"")}</TD></TR><TR><TD>H21</TD><TD>{=IF(ROWS(H$2:H21)<=D$2,INDEX(A$2:A$21,SMALL(IF(B$2:B$21="Yes",ROW(A$2:A$21)-ROW(H$2)+1),ROWS(H$2:H21))),"")}</TD></TR></TBODY></TABLE></TD></TR><TR><TD>Formula Array:
Produce enclosing { } by entering
formula with CTRL+SHIFT+ENTER!
</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
I want to create a unique list of values (i.e. no duplicates) that also considers a criteria in a different Column.
So my list is in Cells A1:A21, including the headers, and I want a formula to create a list of unique IDs where Column B equals "Yes".
I know how to get a unique count, generate a unique list, as well as to create a list based on a criteria, but I can't get the syntax right to create what I have manually created in Column J.
Can anyone help, please?
Thanks,
Matty