+ Reply to Thread
Results 1 to 10 of 10

calculate a half-life string based on given data

  1. #1
    Registered User
    Join Date
    04-06-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    16

    calculate a half-life string based on given data

    I want to calculate a half-life string based on the following

    I have a 8-day half-life

    Day 1 the value is 200
    Day 8 the value is 100
    Day 16 the value is 50
    Day 24 the value is 25
    and so on .........

    what is the formula to calculate all the days in between the known values?
    Last edited by Pepe Le Mokko; 09-16-2019 at 11:57 AM. Reason: Thread title

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,938

    Re: half life

    So 8 day half life.

    To calculate... let's say 7 days value.
    =EXP(-LN(2)*7/8)*200
    =109.0508...

    You can validate it by using known #.

    Ex: =EXP(-LN(2)*16/8)*200 = 50
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: half life

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    I did it for you this time. Please read forum rules. Thx

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: calculate a half-life string based on given data

    A simple google of excel gives you lots of answers
    however you are wrong as the 200 should be at day 0 not day 1

    =200*0.5^(A1/8) where A1 is the number of days

  5. #5
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: calculate a half-life string based on given data

    And if you want to calculate how many days to go from one value [A] to [B].
    Use this:

    =(LOG(A/B)/LOG(2))*8
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,874

    Re: calculate a half-life string based on given data

    With half-life in B1 and the start value in B2 (which is really for Day 0), then put days 1, 2, 3 etc. down column A starting in A3, then you can have this formula in B3:

    =$B$2*0.5^(A3/$B$1)

    Copy down as required.

    I've done this in the attached file, and used Conditional Formatting on column B to highlight where the multiple half-lives appear.

    Hope this helps.

    Pete

    EDIT: Oops, a bit late to the party on this one !!
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-06-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: half life

    perfect thanks. I know this seems super simple to all of you but it is not for me. appreciate your help

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,874

    Re: half life

    Not sure who you are responding to, but glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  9. #9
    Registered User
    Join Date
    04-06-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: calculate a half-life string based on given data

    very cool thanks.!!

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: calculate a half-life string based on given data

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Equipment End of Life (Useful Life) Financial Model
    By msalib888 in forum Excel General
    Replies: 0
    Last Post: 09-05-2019, 07:41 PM
  2. [SOLVED] Iteratively cut a column in half until the number of cells in each half is less than 10...
    By LineOfBestFit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2015, 12:31 AM
  3. Formula to calculate half wins and half losses
    By chilli76 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-27-2014, 07:33 AM
  4. Replies: 1
    Last Post: 10-20-2014, 03:09 PM
  5. Replies: 1
    Last Post: 05-03-2013, 04:39 AM
  6. Replies: 4
    Last Post: 02-11-2011, 08:02 AM
  7. [SOLVED] Can time series be plotted as half solid, half dotted line?
    By Carol in forum Excel General
    Replies: 2
    Last Post: 08-15-2006, 03:20 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