+ Reply to Thread
Results 1 to 4 of 4

A formula to calc total number of days elapsed between two dates within any given month

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    A formula to calc total number of days elapsed between two dates within any given month

    Hi,

    Would be grateful if anyone could give some much needed advice. I am currently trying to calculate earned premium by any given month based on a table of data using only a start date and an end date and total premium. I have around 60k lines of data and need to summarise how much premium is earned by month. Earned premium being calculated by premium / 365 * days on cover.

    Basically the formula should calculate the number of days on cover within any given month and then calculate the premium as per above - the calculation of those days on a grand scale is proving problematic.

    thanks

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: A formula to calc total number of days elapsed between two dates within any given mont

    Try looking at this thread

    My suggested formula gives you the number of days in each month - you can easily adapt that to multiply by the premium per day
    Audere est facere

  3. #3
    Registered User
    Join Date
    01-02-2014
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: A formula to calc total number of days elapsed between two dates within any given mont

    Thanks Daddylonglegs, you are indeed The Daddy. Great help, although the sheer volume of formulas (3 million+) has crashed my desktop! I will get around that somehow, but many thanks again for the help.

    all the best for 2014.

    cheers

    Paul

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: A formula to calc total number of days elapsed between two dates within any given mont

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Adding Total Number of Days Elapsed and Displaying >31 Days
    By cwwazy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2013, 08:18 AM
  2. [SOLVED] Calc a running total of time elapsed from a timestamp
    By AWilson012 in forum Excel General
    Replies: 3
    Last Post: 07-11-2012, 03:19 PM
  3. [SOLVED] I'm looking for a formula to calc # of days left in a month
    By Manthony in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2006, 10:20 AM
  4. formula for tracking number of elapsed days from a stard date
    By spm1371 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2006, 01:00 AM
  5. [SOLVED] how do i display the total number of days in the current month in.
    By timerigger in forum Excel General
    Replies: 6
    Last Post: 03-20-2005, 02: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