Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
GGC
 
Posts: n/a
Default automatically updating graphs based upon conditional variables

We have patients that have two variables assigned to them based upon results
of testing.
The variables are numbers between 1-6 and there are always 2 numbers
assigned to each patient.
We need to set up a histogram chart that automatically updates each time a
new patient is added to the database.
The histogram should reflect the addition of the new patient, and adjust the
graph to reflect the HIGHER of the two numbers assigned to the patient.
Example:
Patient A: 4, 3
Patient A is thus a "4"
one new "4" patient is added to the histgram to represent this patient.

Anyone know how to do this?

  #2   Report Post  
Posted to microsoft.public.excel.charting
David Biddulph
 
Posts: n/a
Default automatically updating graphs based upon conditional variables

"GGC" wrote in message
...
We have patients that have two variables assigned to them based upon
results
of testing.
The variables are numbers between 1-6 and there are always 2 numbers
assigned to each patient.
We need to set up a histogram chart that automatically updates each time a
new patient is added to the database.
The histogram should reflect the addition of the new patient, and adjust
the
graph to reflect the HIGHER of the two numbers assigned to the patient.
Example:
Patient A: 4, 3
Patient A is thus a "4"
one new "4" patient is added to the histgram to represent this patient.

Anyone know how to do this?


If you create a column for the maximum of the two numbers for that patient
=MAX(C2,D2) if the numbers are in columns C & D.

Then if that column is E, use =COUNTIF(E:E,G2) where G2 is 1, & copy down
for values 1 to 6 in column G, you can then produce your histogram from
those values.
--
David Biddulph


  #3   Report Post  
Posted to microsoft.public.excel.charting
GGC
 
Posts: n/a
Default automatically updating graphs based upon conditional variables

Thank you. Will give it a try.
G

"David Biddulph" wrote:

"GGC" wrote in message
...
We have patients that have two variables assigned to them based upon
results
of testing.
The variables are numbers between 1-6 and there are always 2 numbers
assigned to each patient.
We need to set up a histogram chart that automatically updates each time a
new patient is added to the database.
The histogram should reflect the addition of the new patient, and adjust
the
graph to reflect the HIGHER of the two numbers assigned to the patient.
Example:
Patient A: 4, 3
Patient A is thus a "4"
one new "4" patient is added to the histgram to represent this patient.

Anyone know how to do this?


If you create a column for the maximum of the two numbers for that patient
=MAX(C2,D2) if the numbers are in columns C & D.

Then if that column is E, use =COUNTIF(E:E,G2) where G2 is 1, & copy down
for values 1 to 6 in column G, you can then produce your histogram from
those values.
--
David Biddulph



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting based on column snax500 Excel Discussion (Misc queries) 4 April 27th 05 06:13 PM
conditional formula - based on 2 separate criteria andrewo-s Excel Worksheet Functions 10 March 14th 05 03:35 AM
Can an excel cell automatically change fill colors based on values John Clark Excel Discussion (Misc queries) 1 February 5th 05 05:21 PM
sum automatically from last 12 months based on current date CDSchomaker Excel Worksheet Functions 2 December 30th 04 05:28 PM
How do I do conditional format based on a cell with a formula? Justin Excel Worksheet Functions 9 December 17th 04 02:05 PM


All times are GMT +1. The time now is 02:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"