Closed Thread
Results 1 to 7 of 7

Creatinine Clearance Formula (crockoft gault)

  1. #1
    Registered User
    Join Date
    11-02-2013
    Location
    Brooklyn
    MS-Off Ver
    Excel 2007
    Posts
    5

    Creatinine Clearance Formula (crockoft gault)

    I have another conundrum and was looking for help.

    I have to calculate Creatinine clearance in an excel spreadsheet. It is a weight based formula where
    CrCl=((140-age)*Weight/(72*Creatinine))*0.85 if female.

    I have this equation already made
    =IF(Q4="0",((140-P4)*U4*0.85/(72*AA4)),((140-P4)*U4/(72*AA4)))

    My problem is that the weight you use fluctuates depending on how overweight the patient is. If their actual weight (cell T4) is less than their ideal weight (U4){ie T4/U4<1} then you use actual weight, if they are obese (defined as T4/U4=>1.3) then you use adjusted Body weight(which I have already calculated in V4). If they are between these two ranges (1<x<1.3), you use ideal body weight (U4).

    I know this is complicated, but I can't find a way to build an IF function into the above equation that I already put together to account for using these different weights. Anyone have any pointers?

  2. #2
    Registered User
    Join Date
    11-02-2013
    Location
    Brooklyn
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Creatinine Clearance Formula (crockoft gault)

    Attached the spreadsheet incase it helps someone understand my question better.

    Thank you
    Andrew
    Attached Files Attached Files

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Creatinine Clearance Formula (crockoft gault)

    Hi and welcome to the forum

    Just looking at the formula you posted, it can be shorthened to this...
    =(140-P4)*U4/72*AA4*IF(Q4=0,0.85,1)
    from this....=IF(Q4="0",((140-P4)*U4*0.85/(72*AA4)),((140-P4)*U4/(72*AA4)))

    And then you can adjust this like so...
    =(140-P4)*IF(T4<U4,T4,IF(T4/U4>=1.3,V4,U4))/72*AA4*IF(Q4=0,0.85,1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-02-2013
    Location
    Brooklyn
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Creatinine Clearance Formula (crockoft gault)

    OK, I see now. I have a lot to learn. It does make sense now that I see it though. I didn't know you could use another IF for the false value of the first IF command. Thank you

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Creatinine Clearance Formula (crockoft gault)

    Happy to help, and thanks for the feedback

    I will mark this as closed, for you. For future threads, use the "Thread Tools" button at the top of your 1st post

  6. #6
    Registered User
    Join Date
    05-24-2023
    Location
    Rochester new york
    MS-Off Ver
    2018
    Posts
    1

    Re: Creatinine Clearance Formula (crockoft gault)

    Hi! I am using this formula for an excell sheet I am making however I am not getting the correct answer, the numbers are coming up to be way too high and im not sure what I am doing wrong, If anyone knows how to help I would greatly appreciate it

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creatinine Clearance Formula (crockoft gault)

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM
  2. Clearance cells range from focused cell
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-17-2010, 10:28 AM
  3. Replies: 0
    Last Post: 10-15-2010, 12:02 AM
  4. Date clearance
    By lapot in forum Excel General
    Replies: 2
    Last Post: 05-18-2007, 12:03 PM

Tags for this Thread

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