+ Reply to Thread
Results 1 to 4 of 4

Calculating scores for same patient? (new with excel)

  1. #1
    Registered User
    Join Date
    05-25-2017
    Location
    London, England
    MS-Off Ver
    Excel 2017
    Posts
    2

    Calculating scores for same patient? (new with excel)

    Hi guys,

    This might be a very simple question. I hope someone can help me with this because I'm kind of new with Excel.
    I have a database with patients who are numbered 1 to 1200 (1200 patients in total). These patients were given painmedication and scored their pain with a simple yes or no answer. Yes =1 no = 0.

    The problem is that I have data of the same patient on t=0 en t=4. T=0 means before the patient was given the painmedication and t=4 is 4 months after the painmedication. I asked these patients to score their pain (with yes/no) on t=0 and t=4. Now I'm trying to calculate the difference. Let's say patient number 5 answered yes( =score 1) on t=0 and on t=4 answered no (=0). In the Excel database it looks like this:

    Patientno Time Pain yes/no (yes=1, no=0)
    1 t=0 1
    1 t=4 1
    2 t=0 1
    2 t=4 0
    etc.

    Now I want to make a formula to calculate the difference in painscores. For example the difference in patient number 1 is 0 (on t=4 the score was 1 and the score on t=0 was also). For patient 2 the difference is minus 1 (0 on t=4 minus 1 on t=0). I'm kind of stuck here, It takes too much time to calculate this without a formula. Could anybody help me or point me in the right direction. It's very appreciated

    Thanks for reading!

    Michael

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Calculating scores for same patient? (new with excel)

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    05-25-2017
    Location
    London, England
    MS-Off Ver
    Excel 2017
    Posts
    2

    Re: Calculating scores for same patient? (new with excel)

    Tanks for your reply! I'm afraid I still don't quite understand. I have to attach a new workbook on the file, but after that is there a kind of formula I should put in? Or could you please send me a link or someting to a video explaining this. The problem now is that I can't calculate the difference between t=4 and t=0 for the same patient. For example patient number 2 had a difference of minus 1 in my example, but I can't calculate this with a simple formula on excel because then it will calculate the difference on t=4 and t=0 for patient number 1 (which is what I want) but also the difference on t=0 en t=4 for patient 2 and 1( which is something I don't want; I just want the difference on t=4 en t=0 for the same patient)

    Thanks in advance!!

  4. #4
    Registered User
    Join Date
    05-19-2017
    Location
    Scotland
    MS-Off Ver
    Office 365
    Posts
    4

    Exclamation Re: Calculating scores for same patient? (new with excel)

    Quote Originally Posted by Michael.s90 View Post
    Tanks for your reply! I'm afraid I still don't quite understand. I have to attach a new workbook on the file, but after that is there a kind of formula I should put in? Or could you please send me a link or someting to a video explaining this. The problem now is that I can't calculate the difference between t=4 and t=0 for the same patient. For example patient number 2 had a difference of minus 1 in my example, but I can't calculate this with a simple formula on excel because then it will calculate the difference on t=4 and t=0 for patient number 1 (which is what I want) but also the difference on t=0 en t=4 for patient 2 and 1( which is something I don't want; I just want the difference on t=4 en t=0 for the same patient)

    Thanks in advance!!
    Hi Michael,

    What is being asked , is for you to supply a sample workbook with a "Little" non sensitive data in it ,
    That shows your Input and any expected Output from that data. (Manually rigged up is fine)
    Like the Simple workbook I have attached here .
    This Lets the Others have a look at what you are trying to do without typing in lots of data , and suggest different solutions.

    Hope this Helps.
    Attached Files Attached Files

+ 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] Calculating scores and autofill from a different sheet
    By Vera1234 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-01-2016, 03:59 PM
  2. Replies: 1
    Last Post: 04-30-2015, 12:19 AM
  3. Replies: 5
    Last Post: 04-28-2015, 10:38 PM
  4. Formula for calculating patient days with selected date range
    By HospitalOfficer in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-01-2014, 10:37 PM
  5. Calculating points and divisions of students scores in excel
    By Edward Masoya in forum Excel General
    Replies: 4
    Last Post: 03-28-2013, 12:40 PM
  6. Formula calculating AVG # of orders per patient on given date
    By happy3sum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2013, 06:10 AM
  7. Calculating points and divisions of students scores in excel
    By Edward Masoya in forum Excel General
    Replies: 4
    Last Post: 04-08-2012, 01:45 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