Use Same Table of Data For Multiple Charts, Allow Sorting Without Affecting Charts

ThePianoman

New Member
Joined
Mar 15, 2011
Messages
15
Using: Microsoft Excel 2010

I have run into a pesky little problem when charting a set of data that I need to sort multiple times. I have a set of clinical patient data, that resembles the data below. I need to chart Test 1 Results, but separate charts for different groups of patients. For example, I need one chart with Test 1 Results for Type of Disease= 1 patients, one for Type of Disease= 2 patients, and so on. I have a lot more data than what is below, and I need to group the data like this (by sorting it) in MANY different ways. Obviously this means copying the table over and over and over again, and re-sorting it. What I need to know is, is there a way to use only one set of data to create all of these charts, so that when I sort the data in the table it doesn't change the previously created charts? I understand that the data is graphed based on a range, so isn't it possible to force Excel 2010 to reference the specific values instead of generically referencing a cell where the value of that cell could potentially change when you sort the data? I've searched all over for answers to this, and have had no luck thus far.

Study IDGenderType of DiseaseNumber of GenesDate of testVisit TypeVisit NumberTest 1 Results
3Male327/28/2000S113
3Male128/28/2000S214
4Female239/1/2000S115
4Female138/17/2001S316
7Female2211/17/2000S117
7Female228/10/2001S218
7Female244/16/2002S319
7Female1211/12/2002S420
7Female329/19/2003S621
7Female3212/16/2003V122
7Female225/26/2004V123
7Female123/16/2004V224
9Female322/2/2001S125
9Female224/17/2001S226
10Female144/13/2001S127
10Female146/13/2001S228
15Male228/1/2001S129
15Male329/25/2001S230
16Male2212/19/2001S131
16Male137/18/2002S232
16Male136/12/2003S333
20Male122/14/2002S134
20Male223/8/2002S235
26Female234/4/2002S136
28Male124/23/2002S137
28Male329/23/2003S238

<colgroup><col span="2"><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,215,652
Messages
6,126,033
Members
449,281
Latest member
redwine77

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