How_Do_I
Well-known Member
- Joined
- Oct 23, 2009
- Messages
- 1,843
- Office Version
- 2010
- Platform
- Windows
My Jeanie is a small part of the area in my workbook that I’m looking at…There is data to the left and right of my sample and the named range OutputIndexHomeAway refers to all of this data.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
What I’m trying to do is:
<o></o>
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1lace w:st="on"><st1:PlaceName w:st="on">Find</st1:PlaceName> <st1:PlaceName w:st="on">Swansea</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> in a named range called OutputTop
<o></o>
In the column next to <st1lace w:st="on"><st1:PlaceName w:st="on">Swansea</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> I want to find any “L”
<o></o>
I then eventually want to return the QPR and D next to one of the Ls and the <st1lace w:st="on"><st1:PlaceName w:st="on">Leicester</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> and W next to the other L…
<o></o>
In the Jeanie formulas I’ve “hand” written in the following ROW(FL4:FL28)-ROW(FL4)+1),ROW(1:1))}…
<o></o>
What I want to know is, what can I use in terms of another INDEX to replace the ROW(FL4:FL28) part of my formula please?
Output
<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: 141px"><COL style="WIDTH: 30px"><COL style="WIDTH: 30px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>FJ</TD><TD>FK</TD><TD>FL</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: right">8</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="TEXT-ALIGN: right">9</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right">134</TD><TD style="TEXT-ALIGN: right">135</TD><TD style="TEXT-ALIGN: right">136</TD></TR><TR style="HEIGHT: 128px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="BACKGROUND-COLOR: #ffff00">Home</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">Swansea City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">Away</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #ffff00">16</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">23</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="BACKGROUND-COLOR: #ffff00">Preston North End</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="BACKGROUND-COLOR: #ffff00">Burnley</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="BACKGROUND-COLOR: #ffff00">Coventry City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="BACKGROUND-COLOR: #ffff00">Scunthorpe United</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="BACKGROUND-COLOR: #ffff00">Derby County</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">D</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="BACKGROUND-COLOR: #ffff00">QPR</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">D</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">L</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="BACKGROUND-COLOR: #ffff00">Leicester City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">L</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>FJ1</TD><TD>{=SMALL(IF(INDEX(OutputIndexHomeAway,0,MATCH("Swansea City",OutputTop,0)+1)="L",ROW(FL4:FL28)-ROW(FL4)+1),ROW(1:1))}</TD></TR><TR><TD>FJ2</TD><TD>{=SMALL(IF(INDEX(OutputIndexHomeAway,0,MATCH("Swansea City",OutputTop,0)+1)="L",ROW(FL5:FL29)-ROW(FL5)+1),ROW(2:2))}</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
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
What I’m trying to do is:
<o></o>
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1lace w:st="on"><st1:PlaceName w:st="on">Find</st1:PlaceName> <st1:PlaceName w:st="on">Swansea</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> in a named range called OutputTop
<o></o>
In the column next to <st1lace w:st="on"><st1:PlaceName w:st="on">Swansea</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> I want to find any “L”
<o></o>
I then eventually want to return the QPR and D next to one of the Ls and the <st1lace w:st="on"><st1:PlaceName w:st="on">Leicester</st1:PlaceName> <st1:PlaceType w:st="on">City</st1:PlaceType></st1lace> and W next to the other L…
<o></o>
In the Jeanie formulas I’ve “hand” written in the following ROW(FL4:FL28)-ROW(FL4)+1),ROW(1:1))}…
<o></o>
What I want to know is, what can I use in terms of another INDEX to replace the ROW(FL4:FL28) part of my formula please?
Output
<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: 141px"><COL style="WIDTH: 30px"><COL style="WIDTH: 30px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>FJ</TD><TD>FK</TD><TD>FL</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: right">8</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="TEXT-ALIGN: right">9</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right">134</TD><TD style="TEXT-ALIGN: right">135</TD><TD style="TEXT-ALIGN: right">136</TD></TR><TR style="HEIGHT: 128px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="BACKGROUND-COLOR: #ffff00">Home</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">Swansea City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">Away</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #ffff00">16</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">23</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="BACKGROUND-COLOR: #ffff00">Preston North End</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="BACKGROUND-COLOR: #ffff00">Burnley</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="BACKGROUND-COLOR: #ffff00">Coventry City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="BACKGROUND-COLOR: #ffff00">Scunthorpe United</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="BACKGROUND-COLOR: #ffff00">Derby County</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">D</TD><TD style="BACKGROUND-COLOR: #ffff00"> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="BACKGROUND-COLOR: #ffff00">QPR</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">D</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">L</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="BACKGROUND-COLOR: #ffff00">Leicester City</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">W</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00">L</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>FJ1</TD><TD>{=SMALL(IF(INDEX(OutputIndexHomeAway,0,MATCH("Swansea City",OutputTop,0)+1)="L",ROW(FL4:FL28)-ROW(FL4)+1),ROW(1:1))}</TD></TR><TR><TD>FJ2</TD><TD>{=SMALL(IF(INDEX(OutputIndexHomeAway,0,MATCH("Swansea City",OutputTop,0)+1)="L",ROW(FL5:FL29)-ROW(FL5)+1),ROW(2:2))}</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