Good afternoon,
I've spent most of today attempting to automatically copy a number of rows of data from a table into a separate sheet. The idea is that I enter a ticker into a cell and the formula will retrieve the data from the different rows and columns in the table. VLOOKUP does the job, but only for the first row of course. Being that I desire to pull not just the first entry, but all of the entries with the same ticker, I need something that can get the subsequent rows as well.
An example of the table is below. VLOOKUP would pull the top row just fine, but I am at a loss for how to automatically copy the additional rows.
Thank you,
John
I've spent most of today attempting to automatically copy a number of rows of data from a table into a separate sheet. The idea is that I enter a ticker into a cell and the formula will retrieve the data from the different rows and columns in the table. VLOOKUP does the job, but only for the first row of course. Being that I desire to pull not just the first entry, but all of the entries with the same ticker, I need something that can get the subsequent rows as well.
An example of the table is below. VLOOKUP would pull the top row just fine, but I am at a loss for how to automatically copy the additional rows.
Code:
[TABLE="width: 804"]
<tbody>[TR]
[TD="class: xl73, width: 83"]Settle[/TD]
[TD="class: xl72, width: 149"]Security[/TD]
[TD="class: xl72, width: 82"]Coupon[/TD]
[TD="class: xl72, width: 106"]Issue Spread[/TD]
[TD="class: xl72, width: 126"]Current Spread[/TD]
[TD="class: xl72, width: 129"]Amount[/TD]
[TD="class: xl70, width: 78"]Maturity[/TD]
[TD="class: xl71, width: 51"] Years [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 804"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]9/18/2013[/TD]
[TD]VZ 0 09/15/16[/TD]
[TD]FLOATING[/TD]
[TD]#N/A Field Not Applicable[/TD]
[TD="align: right"]49.3[/TD]
[TD] $ 2,250,000,000[/TD]
[TD] 9/15/2016 [/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]11/7/2012[/TD]
[TD]VZ 3.85 11/01/42[/TD]
[TD]FIXED[/TD]
[TD="align: right"]97[/TD]
[TD="align: right"]191.0[/TD]
[TD] $ 1,250,000,000[/TD]
[TD] 11/1/2042 [/TD]
[TD] 30[/TD]
[/TR]
[TR]
[TD]11/7/2012[/TD]
[TD]VZ 2.45 11/01/22[/TD]
[TD]FIXED[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]91.6[/TD]
[TD] $ 1,750,000,000[/TD]
[TD] 11/1/2022 [/TD]
[TD] 10[/TD]
[/TR]
[TR]
[TD]11/7/2012[/TD]
[TD]VZ 1.1 11/01/17[/TD]
[TD]FIXED[/TD]
[TD="align: right"]42[/TD]
[TD="align: right"]41.2[/TD]
[TD] $ 500,000,000[/TD]
[TD] 11/1/2017 [/TD]
[TD] 5[/TD]
[/TR]
</tbody>[/TABLE]
Thank you,
John