+ Reply to Thread
Results 1 to 9 of 9

Referencing a table to another sheet based on a specific table value

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Red face Referencing a table to another sheet based on a specific table value

    Hello all

    First time in this forum! Would love some assistance. I'm physician starting a small database of my patients.

    I have 5 total tables. One is a demographic sheet, which everyone will have only once.

    I then separate the patients based on the number of respiratory cultures they've had, only 1 or more than 1. Two tables will be for those with only one culture, the other two for those with two cultures or more.

    All variables are in the first row like this (I can attach the table if needed):

    One_many / Name / Medical_number / Culture_number / Date_obtained / Culture_#

    The "One_many" variable will just be a 0 or a 1 (0 for one, 1 for many). The idea is that if this number is 0, the data gets linked to the two tables for those with only 1 culture. If it is 1, likewise, so those tables start filling automatically. If at one point the individual with only one culture now gets another one, I would change his "one_many" variable to "1" and he will be moved to the appropriate table.

    All the other tables start with this exact variables. Note that one patient can have many cultures, but since each culture has its own identification number, I can eventually sort by individual and their specific information.

    I know how to paste a special link to another table - but any help with this will be appreciated.

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Referencing a table to another sheet based on a specific table value

    hello,

    Can you attach the worksheet ? remove any sensitive information.

    Thanks

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Referencing a table to another sheet based on a specific table value

    Workbook attached.

    Only added 4 rows of data - it would represent 3 separate individuals, and one of them would have 2 cultures, thus 4 cultures.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-13-2013
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Referencing a table to another sheet based on a specific table value

    I'm thinking, since I'm going to associate an individual to a culture(s) anyway, should just keep the first 3 variables - the "one/many", plus two identifiers, such as the name and record number.

  5. #5
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Referencing a table to another sheet based on a specific table value

    Hi,

    I took a look at your spreadsheet. I think its a little too overwhelming.

    You have a total of 75 different fields in the workbook spread out in 5 spreadsheets. I think it would be better to limit the information in the sheets and then pull the data using reports. I created a color shaded sample of what I am seen so you can see what I am talking about.

    If the data base is too long and the columns expand to BW then a user-form or several user-forms would help enter, retrieve, and report data.

    Thanks

    DataBase.PNG

  6. #6
    Registered User
    Join Date
    08-13-2013
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Referencing a table to another sheet based on a specific table value

    Thanks for the feedback. Yes, I know it's long!

    Excel does have a form tool, but do not know how to create a form with Excel. For prior studies, I just imported something made from SurveyMonkey, but with at least 300+ patients, a form linked to a database may be better.

    I do have FileMaker Pro in my Mac, but was received as a gift and do not know how to use it much. Guess I can import the excel sheet and make a database out of it.

    Thoughts?

  7. #7
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Referencing a table to another sheet based on a specific table value

    Is the Medical Number variable (MRN) a unique value?


    Let me see if I can organize it a little for you.

    Thanks

  8. #8
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Referencing a table to another sheet based on a specific table value

    Quote Originally Posted by happy5 View Post
    I do have FileMaker Pro in my Mac, but was received as a gift and do not know how to use it much. Guess I can import the excel sheet and make a database out of it.
    Thoughts?
    If you have a database software program go with it. i have never used it but I saw a demo and it looks very good.

    Thanks

  9. #9
    Registered User
    Join Date
    08-13-2013
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Referencing a table to another sheet based on a specific table value

    Each patient has its own medical record number, and patient's culture has its own ID number as well. One of my subjects has 15 cultures, so it all falls under one unique ID.

+ 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] Vlookup in UserForm - Get Input from listbox, Lookup in specific table from specific sheet
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2013, 09:00 AM
  2. Replies: 0
    Last Post: 09-17-2012, 11:10 AM
  3. Draw out listings in table #1 based on specific criteria
    By Melvinrobb in forum Excel General
    Replies: 2
    Last Post: 07-24-2012, 02:45 PM
  4. referencing of table value to another sheet
    By Dewy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-04-2010, 10:03 AM
  5. Non-Static table/sheet referencing
    By Ken B in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2006, 03:36 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