+ Reply to Thread
Results 1 to 9 of 9

How to Return a value between two dates for cashflow modelling

  1. #1
    Registered User
    Join Date
    04-30-2019
    Location
    Toronto Canada
    MS-Off Ver
    365
    Posts
    8

    How to Return a value between two dates for cashflow modelling

    I am working on a cash flow forecast for a small business and want to model when invoices are sent and went those same invoices are paid on a monthly basis, but tracked weekly (will added quarterly, semi-annual and annual invoices later). I want to be able to change when the invoices are sent and how long the invoice are outstanding before paid; for sensitivity analysis. This will help forecast when bank loans will be drawn

    The attached spreadsheet shows the values I want add. in Cell C35, G35, H36, M36.....

    Is this possible?

    Client Client A
    Frequency Quarterly
    Invoice Cycle Every 28
    Days to Collect 35
    Invoice 1 Sent Date Wednesday, January 9, 2019 Invoice Sent
    Invoice 2 Sent Date Wednesday, February 6, 2019 Invoice Sent
    Invoice 3 Sent Date Wednesday, March 6, 2019 Invoice Sent
    Invoice 4 Sent Date Wednesday, April 3, 2019 Invoice Sent
    Invoice 5 Sent Date Wednesday, May 1, 2019 Invoice Sent
    Invoice 6 Sent Date Wednesday, June 5, 2019 Invoice Sent
    Invoice 7 Sent Date Wednesday, July 3, 2019 Invoice Sent
    Invoice 8 Sent Date Wednesday, August 7, 2019 Invoice Sent
    Invoice 9 Sent Date Wednesday, September 4, 2019 Invoice Sent
    Invoice 10 Sent Date Wednesday, October 2, 2019 Invoice Sent
    Invoice 11 Sent Date Wednesday, November 6, 2019 Invoice Sent
    Invoice 12 Sent Date Wednesday, December 4, 2019 Invoice Sent

    Date Paid Invoice 1 Wednesday, February 13, 2019 3,000.00
    Date Paid Invoice 2 Wednesday, March 20, 2019 3,000.00
    Date Paid Invoice 3 Wednesday, April 24, 2019 3,000.00
    Date Paid Invoice 4 Wednesday, May 29, 2019 3,000.00
    Date Paid Invoice 5 Wednesday, July 3, 2019 3,000.00
    Date Paid Invoice 6 Wednesday, August 7, 2019 3,000.00
    Date Paid Invoice 7 Wednesday, September 11, 2019 3,000.00
    Date Paid Invoice 8 Wednesday, October 16, 2019 3,000.00
    Date Paid Invoice 9 Wednesday, November 20, 2019 3,000.00
    Date Paid Invoice 10 Wednesday, December 25, 2019 3,000.00
    Date Paid Invoice 11 Wednesday, January 29, 2020 3,000.00
    Date Paid Invoice 12 Wednesday, March 4, 2020 3,000.00


    Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10
    Start Tuesday, January 1, 2019 2019-01-07 2019-01-14 2019-01-21 2019-01-28 2019-02-04 2019-02-11 2019-02-18 2019-02-25 2019-03-04
    End Friday, January 4, 2019 2019-01-11 2019-01-18 2019-01-25 2019-02-01 2019-02-08 2019-02-15 2019-02-22 2019-03-01 2019-03-08
    Client A-Invoice Sent Date Invoice Sent Invoice Sent ????
    Client A-Invoice Paid Date 3000
    Attached Files Attached Files
    Last edited by Parka; 09-20-2019 at 10:42 AM. Reason: Added a monthly example

  2. #2
    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
    53,044

    Re: How to Return a value between two dates for cashflow modelling

    Can you show some sample answers? (or, if you did, explain what you did/want?)
    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

  3. #3
    Registered User
    Join Date
    04-30-2019
    Location
    Toronto Canada
    MS-Off Ver
    365
    Posts
    8

    Re: How to Return a value between two dates for cashflow modelling

    Below is a cut&paste of the excel spreadsheet attached. Under week 13 and week 17 would like to use lookups to populated when invoices are sent and funds expected using assumptions about days to collect.


    Client Client A
    Frequency Quarterly
    Invoice Cycle Every 91
    Days to Collect 45
    Invoice 1 Sent Date 2019-03-08 Invoice Sent
    Invoice 2 Sent Date 2019-06-07 Invoice Sent
    Invoice 3 Sent Date 2019-09-06 Invoice Sent
    Invoice 4 Sent Date 2019-12-06 Invoice Sent

    Date Paid Invoice 1 2019-04-22 3,000.00
    Date Paid Invoice 2 2019-07-22 3,000.00
    Date Paid Invoice 3 2019-10-21 3,000.00
    Date Paid Invoice 4 2020-01-20 3,000.00


    Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12 Week 13 Week 14 Week 15 Week 16 Week 17
    Start 2019-01-01 2019-01-07 2019-01-14 2019-01-21 2019-01-28 2019-02-04 2019-02-11 2019-02-18 2019-02-25 2019-03-04 2019-03-11 2019-03-18 2019-03-25 2019-04-01 2019-04-08 2019-04-15 2019-04-22
    End 2019-01-04 2019-01-11 2019-01-18 2019-01-25 2019-02-01 2019-02-08 2019-02-15 2019-02-22 2019-03-01 2019-03-08 2019-03-15 2019-03-22 2019-03-29 2019-04-05 2019-04-12 2019-04-19 2019-04-26
    Client A-Invoice Sent Date Invoice Sent
    Client A-Invoice Paid Date 3000

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How to Return a value between two dates for cashflow modelling

    Try: in b19: =IFERROR(IFERROR(VLOOKUP(B$17,$B$5:$C$8,2,0),VLOOKUP(B$18,$B$5:$C$8,2,0)),"")
    in C19: =IFERROR(IFERROR(VLOOKUP(B$17,$B$10:$C$13,2,0),VLOOKUP(B$18,$B$10:$C$13,2,0)),"")
    Click the * to say thanks.

  5. #5
    Registered User
    Join Date
    04-30-2019
    Location
    Toronto Canada
    MS-Off Ver
    365
    Posts
    8

    Re: How to Return a value between two dates for cashflow modelling

    You are the man!. THanks

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How to Return a value between two dates for cashflow modelling

    Glad to help. If that took care of your problem, please mark the thread as Solved from Thread Tools.

  7. #7
    Registered User
    Join Date
    04-30-2019
    Location
    Toronto Canada
    MS-Off Ver
    365
    Posts
    8

    Re: How to Return a value between two dates for cashflow modelling

    Actually. The answer worked bc the dates matched perfectly with the weeks. I added a new spreadsheet that has the date invoice sent and paid within the weekly date range. Can you solve this added complexity? Sorry for the boomerang
    Last edited by Parka; 09-20-2019 at 10:47 AM. Reason: typo

  8. #8
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How to Return a value between two dates for cashflow modelling

    This should work:
    =IFERROR(LOOKUP(2,1/($B$5:$B$16>=B33)/($B$5:$B$16<=B34),$C$5:$C$16),"")
    =IFERROR(LOOKUP(2,1/($B$18:$B$29>=B33)/($B$18:$B$29<=B34),$C$18:$C$29),"")

  9. #9
    Registered User
    Join Date
    04-30-2019
    Location
    Toronto Canada
    MS-Off Ver
    365
    Posts
    8

    Re: How to Return a value between two dates for cashflow modelling

    Great again. THanks.
    Last edited by Parka; 09-20-2019 at 11:32 AM.

+ 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. How to automate cashflow timings for given dates
    By gijolpa in forum Excel General
    Replies: 2
    Last Post: 02-26-2019, 01:21 PM
  2. [SOLVED] Cashflow - Date matching to return value
    By E&E in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2017, 02:14 PM
  3. [SOLVED] Formula to return the 'earliest' and 'latest' dates from a list of dates is not working
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2017, 07:14 AM
  4. [SOLVED] Return the earliest and latest dates selected from a list of dates.
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 02-01-2017, 09:41 AM
  5. Formula for distributing cashflow accurately over months using specific dates
    By byjingo999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2013, 01:52 PM
  6. [SOLVED] Cashflow Formula - Returning name and respective cashflow
    By PERE in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 02:57 AM
  7. Modelling
    By macca87 in forum Excel General
    Replies: 3
    Last Post: 12-22-2008, 09:04 AM

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