+ Reply to Thread
Results 1 to 3 of 3

automatically updating graphs based upon conditional variables

Hybrid View

  1. #1
    GGC
    Guest

    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. #2
    David Biddulph
    Guest

    Re: automatically updating graphs based upon conditional variables

    "GGC" <GGC@discussions.microsoft.com> wrote in message
    news:1814D47A-3F47-4530-A3E4-F2F04C406A8B@microsoft.com...
    > 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. #3
    GGC
    Guest

    Re: automatically updating graphs based upon conditional variables

    Thank you. Will give it a try.
    G

    "David Biddulph" wrote:

    > "GGC" <GGC@discussions.microsoft.com> wrote in message
    > news:1814D47A-3F47-4530-A3E4-F2F04C406A8B@microsoft.com...
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1