Please help!! How to extract specific rows of data from column for variable analysis?

collegestudent1

New Member
Joined
Nov 10, 2013
Messages
2
Hi, I have a huge data set that provides information on 10 variables for 125 countries over 10 years.
Sorry for the formatting:
[TABLE="width: 896"]
<colgroup><col width="64" span="14" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]country[/TD]
[TD="width: 64"]code[/TD]
[TD="width: 64"]year[/TD]
[TD="width: 64"]x1[/TD]
[TD="width: 64"]x2[/TD]
[TD="width: 64"]x3[/TD]
[TD="width: 64"]x4[/TD]
[TD="width: 64"]x5[/TD]
[TD="width: 64"]x6x[/TD]
[TD="width: 64"]7x[/TD]
[TD="width: 64"]8x[/TD]
[TD="width: 64"]x9[/TD]
[TD="width: 64"]x10[/TD]
[TD="width: 64"]x11[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2000[/TD]
[TD="align: right"]0.983642[/TD]
[TD="class: xl63, align: right"]4.74E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]96.96074[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3.039257[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4799.538[/TD]
[TD="align: right"]55.99678[/TD]
[TD="align: right"]3071856[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2001[/TD]
[TD="align: right"]1.047415[/TD]
[TD="class: xl63, align: right"]3.69E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]96.28927[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3.710726[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5126.29[/TD]
[TD="align: right"]56.80673[/TD]
[TD="align: right"]3077378[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2002[/TD]
[TD="align: right"]1.212927[/TD]
[TD="class: xl63, align: right"]3.69E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]95.27944[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4.720564[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5253.783[/TD]
[TD="align: right"]55.83105[/TD]
[TD="align: right"]3089778[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2003[/TD]
[TD="align: right"]1.381012[/TD]
[TD="class: xl63, align: right"]4.99E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]97.85657[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.14343[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5522.999[/TD]
[TD="align: right"]52.43145[/TD]
[TD="align: right"]3106701[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2004[/TD]
[TD="align: right"]1.316658[/TD]
[TD="class: xl63, align: right"]5.61E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]97.50268[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.497324[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5814.865[/TD]
[TD="align: right"]51.19481[/TD]
[TD="align: right"]3124861[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2005[/TD]
[TD="align: right"]1.464793[/TD]
[TD="class: xl63, align: right"]5.44E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]98.71395[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1.286056[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6101.608[/TD]
[TD="align: right"]47.74062[/TD]
[TD="align: right"]3141800[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2006[/TD]
[TD="align: right"]1.342914[/TD]
[TD="class: xl63, align: right"]5.52E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]98.31644[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1.683563[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6376.636[/TD]
[TD="align: right"]41.46697[/TD]
[TD="align: right"]3156607[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2007[/TD]
[TD="align: right"]1.417208[/TD]
[TD="class: xl63, align: right"]2.86E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]97.48252[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.517483[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6725.038[/TD]
[TD="align: right"]42.82199[/TD]
[TD="align: right"]3169665[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2008[/TD]
[TD="align: right"]1.297871[/TD]
[TD="class: xl63, align: right"]3.80E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7216.156[/TD]
[TD="align: right"]44.44557[/TD]
[TD="align: right"]3181397[/TD]
[/TR]
[TR]
[TD]Albania[/TD]
[TD]ALB[/TD]
[TD="align: right"]2009[/TD]
[TD="align: right"]0.94181[/TD]
[TD="class: xl63, align: right"]5.21E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]99.9808[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.019205[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7427.845[/TD]
[TD="align: right"]42.92232[/TD]
[TD="align: right"]3192723[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2000[/TD]
[TD="align: right"]2.87979[/TD]
[TD="class: xl63, align: right"]2.54E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.212498[/TD]
[TD="align: right"]96.74563[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3.04187[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6081.408[/TD]
[TD="align: right"]83.12298[/TD]
[TD="align: right"]30533827[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2001[/TD]
[TD="align: right"]2.720701[/TD]
[TD="class: xl63, align: right"]2.66E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.259155[/TD]
[TD="align: right"]96.83005[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.910798[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6149.224[/TD]
[TD="align: right"]80.57404[/TD]
[TD="align: right"]30982214[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2002[/TD]
[TD="align: right"]2.889575[/TD]
[TD="class: xl63, align: right"]2.77E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.206163[/TD]
[TD="align: right"]97.63455[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.159288[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6344.12[/TD]
[TD="align: right"]81.80203[/TD]
[TD="align: right"]31441848[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2003[/TD]
[TD="align: right"]2.8995[/TD]
[TD="class: xl63, align: right"]2.96E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.896148[/TD]
[TD="align: right"]96.78063[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.323222[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6681.643[/TD]
[TD="align: right"]78.40738[/TD]
[TD="align: right"]31913462[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2004[/TD]
[TD="align: right"]2.762471[/TD]
[TD="class: xl63, align: right"]3.13E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.8032[/TD]
[TD="align: right"]96.9984[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.1984[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]6924.379[/TD]
[TD="align: right"]75.847[/TD]
[TD="align: right"]32396048[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2005[/TD]
[TD="align: right"]3.257306[/TD]
[TD="class: xl63, align: right"]3.39E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1.636444[/TD]
[TD="align: right"]96.24945[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.114109[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7168.565[/TD]
[TD="align: right"]68.60744[/TD]
[TD="align: right"]32888449[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2006[/TD]
[TD="align: right"]3.213461[/TD]
[TD="class: xl63, align: right"]3.52E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.618861[/TD]
[TD="align: right"]97.25203[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.129109[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7201.682[/TD]
[TD="align: right"]70.19635[/TD]
[TD="align: right"]33391954[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2007[/TD]
[TD="align: right"]3.325072[/TD]
[TD="class: xl63, align: right"]3.72E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.607592[/TD]
[TD="align: right"]97.25777[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2.134638[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7305.142[/TD]
[TD="align: right"]68.54884[/TD]
[TD="align: right"]33906605[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2008[/TD]
[TD="align: right"]3.23296[/TD]
[TD="class: xl63, align: right"]4.02E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.70335[/TD]
[TD="align: right"]97.32826[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1.968387[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7367.172[/TD]
[TD="align: right"]65.58021[/TD]
[TD="align: right"]34428028[/TD]
[/TR]
[TR]
[TD]Algeria[/TD]
[TD]DZA[/TD]
[TD="align: right"]2009[/TD]
[TD="align: right"]3.47099[/TD]
[TD="class: xl63, align: right"]3.82E+10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.801152[/TD]
[TD="align: right"]97.60964[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1.589213[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7431.28[/TD]
[TD="align: right"]74.4745[/TD]
[TD="align: right"]34950168[/TD]
[/TR]
[TR]
[TD]Angola[/TD]
[TD]AGO[/TD]
[TD="align: right"]2000[/TD]
[TD="align: right"]0.685141[/TD]
[TD="class: xl63, align: right"]1.45E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]63.11419[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]36.88581[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2476.184[/TD]
[TD="align: right"]118.4365[/TD]
[TD="align: right"]13926373[/TD]
[/TR]
[TR]
[TD]Angola[/TD]
[TD]AGO[/TD]
[TD="align: right"]2001[/TD]
[TD="align: right"]0.676401[/TD]
[TD="class: xl63, align: right"]1.64E+09[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]62.08791[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]37.91209[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2472[/TD]
[TD="align: right"]120.3824[/TD]
[TD="align: right"]14388244[/TD]
[/TR]
</tbody>[/TABLE]


As you can see, each country is listed ten times (once for each year) with the respective variable data.

I need to study the relationship (using a scatter plot) between two of these variables (x1 and x9) for all countries for year 2000 and 2009. I don't know how to isolate these data without individually highlighting each one, because not every row of data will be used. How do I extract a specific year (row) from each country so that I can compare these variables for that specific date? What is an efficient way to do this?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What about using an Autofilter or a Pivottable?

I spent several hours this morning perusing the web for an answer and saw a few threads talking about those. I didn't really understand them. Our professor has given us no guidance on how to use Excel and I have no previous experience. Would you be able to explain how to use these, or do you know of a good online tutorial I could read?
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top