Muy interesante, Sailepaty. Para otros lectores – él interpretó la pregunta diferentemente que yo. Yo pensé que había que sortear en forma alfabética primero y después por orden de la parte numérica. En cambio, Sailepaty está dejando la parte de letra afuera y sortean horizontalmente únicamente por la parte numérica. O sea le brinda a uno un resultado como sigue. Note que mezclé los números para poder ver si la fórmula resulta en un cambio de secuencia.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Bonita la fórmula, Sailepaty. Pero sí quedamos on una debilidad - cuando hay impates la fórmula devuelve la primera que coincida ambas veces. (Vea C2, D2, H2 y I2).
Sheet1 (3)
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=0 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"></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><TD>K</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="FONT-SIZE: 10pt">A-01</TD><TD style="FONT-SIZE: 10pt">S-02</TD><TD style="FONT-SIZE: 10pt">R-06</TD><TD style="FONT-SIZE: 10pt">W-05</TD><TD style="FONT-SIZE: 10pt">B-08</TD><TD></TD><TD>A-01</TD><TD>S-02</TD><TD>W-05</TD><TD>R-06</TD><TD>B-08</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="FONT-SIZE: 10pt">A-03</TD><TD style="FONT-SIZE: 10pt">S-05</TD><TD style="FONT-SIZE: 10pt">R-04</TD><TD style="FONT-SIZE: 10pt">W-04</TD><TD style="FONT-SIZE: 10pt">B-07</TD><TD></TD><TD>A-03</TD><TD>R-04</TD><TD>R-04</TD><TD>S-05</TD><TD>B-07</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="FONT-SIZE: 10pt">A-02</TD><TD style="FONT-SIZE: 10pt">S-03</TD><TD style="FONT-SIZE: 10pt">R-05</TD><TD style="FONT-SIZE: 10pt">W-07</TD><TD style="FONT-SIZE: 10pt">B-05 </TD><TD></TD><TD>A-02</TD><TD>S-03</TD><TD>R-05</TD><TD>R-05</TD><TD>W-07</TD></TR><TR style="HEIGHT: 19px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="FONT-SIZE: 10pt">A-04</TD><TD style="FONT-SIZE: 10pt">S-04</TD><TD style="FONT-SIZE: 10pt">R-03</TD><TD style="FONT-SIZE: 10pt">W-06</TD><TD style="FONT-SIZE: 10pt">B-06</TD><TD></TD><TD>R-03</TD><TD>A-04</TD><TD>A-04</TD><TD>W-06</TD><TD>W-06</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>G1</TD><TD>{=INDEX($A1:$E1,MATCH
(SMALL(RIGHT($A1:$E1,2)*1,COLUMNS($G1:G1)),RIGHT($A1:$E1,2)*1,0))}</TD></TR><TR><TD>H1</TD><TD>{=INDEX($A1:$E1,MATCH
(SMALL(RIGHT($A1:$E1,2)*1,COLUMNS($G1:H1)),RIGHT($A1:$E1,2)*1,0))}</TD></TR><TR><TD>I1</TD><TD>{=INDEX($A1:$E1,MATCH
(SMALL(RIGHT($A1:$E1,2)*1,COLUMNS($G1:I1)),RIGHT($A1:$E1,2)*1,0))}</TD></TR><TR><TD>J1</TD><TD>{=INDEX($A1:$E1,MATCH
(SMALL(RIGHT($A1:$E1,2)*1,COLUMNS($G1:J1)),RIGHT($A1:$E1,2)*1,0))}</TD></TR><TR><TD>K1</TD><TD>{=INDEX($A1:$E1,MATCH
(SMALL(RIGHT($A1:$E1,2)*1,COLUMNS($G1:K1)),RIGHT($A1:$E1,2)*1,0))}</TD></TR><TR><TD>G2</TD><TD>{=INDEX($A2:$E2,MATCH
(SMALL(RIGHT($A2:$E2,2)*1,COLUMNS($G2:G2)),RIGHT($A2:$E2,2)*1,0))}</TD></TR><TR><TD>H2</TD><TD>{=INDEX($A2:$E2,MATCH
(SMALL(RIGHT($A2:$E2,2)*1,COLUMNS($G2:H2)),RIGHT($A2:$E2,2)*1,0))}</TD></TR><TR><TD>I2</TD><TD>{=INDEX($A2:$E2,MATCH
(SMALL(RIGHT($A2:$E2,2)*1,COLUMNS($G2:I2)),RIGHT($A2:$E2,2)*1,0))}</TD></TR><TR><TD>J2</TD><TD>{=INDEX($A2:$E2,MATCH
(SMALL(RIGHT($A2:$E2,2)*1,COLUMNS($G2:J2)),RIGHT($A2:$E2,2)*1,0))}</TD></TR><TR><TD>K2</TD><TD>{=INDEX($A2:$E2,MATCH
(SMALL(RIGHT($A2:$E2,2)*1,COLUMNS($G2:K2)),RIGHT($A2:$E2,2)*1,0))}</TD></TR><TR><TD>G3</TD><TD>{=INDEX($A3:$E3,MATCH
(SMALL(RIGHT($A3:$E3,2)*1,COLUMNS($G3:G3)),RIGHT($A3:$E3,2)*1,0))}</TD></TR><TR><TD>H3</TD><TD>{=INDEX($A3:$E3,MATCH
(SMALL(RIGHT($A3:$E3,2)*1,COLUMNS($G3:H3)),RIGHT($A3:$E3,2)*1,0))}</TD></TR><TR><TD>I3</TD><TD>{=INDEX($A3:$E3,MATCH
(SMALL(RIGHT($A3:$E3,2)*1,COLUMNS($G3:I3)),RIGHT($A3:$E3,2)*1,0))}</TD></TR><TR><TD>J3</TD><TD>{=INDEX($A3:$E3,MATCH
(SMALL(RIGHT($A3:$E3,2)*1,COLUMNS($G3:J3)),RIGHT($A3:$E3,2)*1,0))}</TD></TR><TR><TD>K3</TD><TD>{=INDEX($A3:$E3,MATCH
(SMALL(RIGHT($A3:$E3,2)*1,COLUMNS($G3:K3)),RIGHT($A3:$E3,2)*1,0))}</TD></TR><TR><TD>G4</TD><TD>{=INDEX($A4:$E4,MATCH
(SMALL(RIGHT($A4:$E4,2)*1,COLUMNS($G4:G4)),RIGHT($A4:$E4,2)*1,0))}</TD></TR><TR><TD>H4</TD><TD>{=INDEX($A4:$E4,MATCH
(SMALL(RIGHT($A4:$E4,2)*1,COLUMNS($G4:H4)),RIGHT($A4:$E4,2)*1,0))}</TD></TR><TR><TD>I4</TD><TD>{=INDEX($A4:$E4,MATCH
(SMALL(RIGHT($A4:$E4,2)*1,COLUMNS($G4:I4)),RIGHT($A4:$E4,2)*1,0))}</TD></TR><TR><TD>J4</TD><TD>{=INDEX($A4:$E4,MATCH
(SMALL(RIGHT($A4:$E4,2)*1,COLUMNS($G4:J4)),RIGHT($A4:$E4,2)*1,0))}</TD></TR><TR><TD>K4</TD><TD>{=INDEX($A4:$E4,MATCH
(SMALL(RIGHT($A4:$E4,2)*1,COLUMNS($G4:K4)),RIGHT($A4:$E4,2)*1,0))}</TD></TR></TBODY></TABLE></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