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.

[TABLE="width: 733"]
<colgroup><col span="2"><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Study ID[/TD]
[TD]Gender[/TD]
[TD]Type of Disease[/TD]
[TD]Number of Genes[/TD]
[TD]Date of test[/TD]
[TD]Visit Type[/TD]
[TD]Visit Number[/TD]
[TD]Test 1 Results
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Male[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]7/28/2000[/TD]
[TD]S[/TD]
[TD]1[/TD]
[TD]13[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Male[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]8/28/2000[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD]14[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Female[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]9/1/2000[/TD]
[TD]S[/TD]
[TD]1[/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Female[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]8/17/2001[/TD]
[TD]S[/TD]
[TD]3[/TD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[/TD]
[TD]34[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]Male[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]3/8/2002[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD]35[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]Female[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4/4/2002[/TD]
[TD]S[/TD]
[TD]1[/TD]
[TD]36[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]Male[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]4/23/2002[/TD]
[TD]S[/TD]
[TD]1[/TD]
[TD]37[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]Male[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]9/23/2003[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD]38
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Forum statistics

Threads
1,226,883
Messages
6,193,492
Members
453,803
Latest member
hbvba

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