+ Reply to Thread
Results 1 to 2 of 2

Lookup patient information

  1. #1
    Registered User
    Join Date
    03-17-2016
    Location
    Waterford, Ireland
    MS-Off Ver
    excel Mac 2011
    Posts
    1

    Lookup patient information

    Hi all,

    I put together a worksheet with data from a number of patients. I am trying to figure out how to create a look up type option that when i put a patient name in, the spreadsheet will automatically provide me with data for that patient such as average sugar level, variance in blood sugar level etc. I have spent literally hours trying to figure it out with VLOOKUP, HLOOKUP, INDEX etc and just cant crack it. Obviously I am a beginner but if any of you could help I would really appreciate it!

    Thanks in advance,
    D.

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Help for beginner!

    You need a "Database" of the details, so in the Database sheet there is a list of patients, their sugar levels and the variances.

    In D6 of the Review sheet you use Data Validation and link it to the patient list in the Database sheet.

    In D8 you then enter this formula:

    =IF(D6="","",INDEX(DATABASE!B1:B41,MATCH(D6,DATABASE!A1:A41,0)))

    (IF there is no patient name, there is no date. If there is a patient name, look in Col B of the Database for the row with the name in Col A that you selected in D6 of the Review sheet.)

    D10 and D12 have the same formula, but changing the column on the Database from Col B to Col C and Col D.

    If you select a different patient in the DropList, the other details will change to match.

    Hope this helps

    Ochimus
    Last edited by JBeaucaire; 03-18-2016 at 11:59 AM. Reason: Title changed, post restored.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] chart with gene per patient
    By BROEA in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-05-2016, 10:01 AM
  2. Replies: 1
    Last Post: 04-30-2015, 12:19 AM
  3. Replies: 5
    Last Post: 04-28-2015, 10:38 PM
  4. Replies: 5
    Last Post: 11-02-2012, 03:08 AM
  5. apply textbox input to selected cells
    By crypta8 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2012, 06:09 AM
  6. Problem with signs on budget percent variance formula
    By Leigh.DeFilippis@gma in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2012, 12:55 PM
  7. [SOLVED] lookup information in a row like a record
    By utraceme in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2005, 01:06 PM

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