+ Reply to Thread
Results 1 to 6 of 6

Average Daily Balance Formula

  1. #1
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Average Daily Balance Formula

    Hi,

    In the attached file, I've calculated the average daily balance based on a date range. I've done this manually. I'm wondering if a formula can be used to do the same calculation? What would it look like?

    Thanks in advance.

    -Manny
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Average Daily Balance Formula

    Hi.

    If no fancy solution comes up, here's a possibility, using a helper column with this formula in (say) G10 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then this lookup formula in E3:
    =LOOKUP(2,1/(G10:G100<>""),G10:G100)

    Good luck!

  3. #3
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Average Daily Balance Formula

    Thanks for your time and effort. This works somewhat but for some reason, when I change the ending date (E2) to 9/30/23, the G14 cell stay's populated. In this case with $16,619.86. It should be blank or zero.

    I've attached updated file with your formula in place.

    Thanks

    -Manny

  4. #4
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Average Daily Balance Formula

    The formula will return blank when date in same row AND next row are either earlier than start date or later than end date, or if date column is blank.
    Otherwise, it will calculate totals if dates are within range or the daily average in the last row with values.
    Please check attached wb with manual calculation revised for new end date.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Average Daily Balance Formula

    Well, darn. Not going to work. If the ending date is 2/28/23, it should simply return $10,000 (5 days * 10,000 = 50,000 / 5 days= 10,000). It's a tough one to solve.

  6. #6
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Average Daily Balance Formula

    I have changed some IF arguments a little and added some conditions to try and contemplate that particular condition you last mentioned.
    Please try in G10 copied down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Formula to calculate average daily balance
    By Prof Sick in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 12-27-2021, 12:01 PM
  2. [SOLVED] Need a Formula to calculate Average Daily Balance and Interest
    By yomamma34 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2018, 05:03 PM
  3. Formula to find a daily average
    By armlegx in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-10-2016, 12:36 PM
  4. Formula for Daily average
    By Shihab in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2015, 04:00 AM
  5. Average balance formula needed please
    By fdamore in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2014, 09:37 AM
  6. Running balance weighted average formula?
    By rb473363 in forum Excel General
    Replies: 13
    Last Post: 05-22-2012, 07:33 PM
  7. Daily Average formula
    By Sinfante in forum Excel General
    Replies: 1
    Last Post: 02-07-2011, 11:56 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