+ Reply to Thread
Results 1 to 15 of 15

Cash Flow Workbook- Is SUMIFS the best function?

  1. #1
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Cash Flow Workbook- Is SUMIFS the best function?

    Hello, I am trying to create a simple cash flow worksheet to manage my personal finances. I am having trouble writing the correct formula to calculate the sum of my weekly expenses (column J).

    If the expense due date (B41:B48) falls within the the date range for the week (example- A4:G4), then sum the amount due (C41:c48) and return the value in column J. I'm not sure why I'm struggling with this- brain is fuzzy. Any help is appreciated! Thank you.

    -Chris
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Hi,
    1. Your formula is referencing A4 whule it's an empty cell.
    2. The parts in red are redundant.

    =SUMPRODUCT(SUMIFS($C$41:$C$48,$B$41:$B$48,$B$41:$B$48>=A4,$B$41:$B$48,$B$41:$B$48<=G4))

  3. #3
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Thank you! I get a formula error when I remove the ranges you highlighted in red, so I had to put >=A4 in quotes. A4 is blank for September, but the formula should reference column A all the way down.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Please explain what exactly are you trying to do.

  5. #5
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    In column J, I am trying to total the sum of the expenses in C41:C48 if the due date (B41:B48) falls within the range of the week (example- A4:G4). Did I explain that well?

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Try this in J4 and down:
    =SUMIFS($C$41:$C$48,$B$41:$B$48,">"&A4,$B$41:$B$48,"<"&G4)

    **Instead of the blank cell - put a zero.

  7. #7
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    That worked! Thank you so much for your help.
    Last edited by konfusion9; 09-15-2020 at 02:18 PM.

  8. #8
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Put 0 in A4, dont leave it blank

  9. #9
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Sorry to bring this up again. This formula works, except for toward the end of the month when a range restarts at the 1st of the month. Is there a better formula that will return a value if it exists in a range that isn't sequential? see attached. thank you!

  10. #10
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Hi
    please post the example in excel file, where the problem is showing.

  11. #11
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    I attached a new workbook to this thread. Row 9, for example, isn't picking up the values for payments due the 1, 2 and 3 of the month since those values are not greater than A8.

  12. #12
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Hi
    Please also add manually the results you are expecting to see.Thanks

  13. #13
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    Thank you! I manually added the expected results to cell J9.
    Attached Files Attached Files

  14. #14
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    OK. you can use the sumproduct in J4 and down:

    =SUMPRODUCT(($A4:$G4=$B$41:$B$48)*($C$41:$C$48)*1)

    Let me know if that works for you...

  15. #15
    Registered User
    Join Date
    09-15-2020
    Location
    Buffalo, NY
    MS-Off Ver
    Excel for Mac v16.40
    Posts
    8

    Re: Cash Flow Workbook- Is SUMIFS the best function?

    That worked! Thank you so much for the help. Have a nice day!

+ 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. Replies: 4
    Last Post: 07-23-2017, 11:21 PM
  2. Sumifs cash flow formula
    By Lizzieboomboom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2017, 03:54 PM
  3. Replies: 11
    Last Post: 04-23-2015, 10:29 AM
  4. Function/macro for monthly cash flow
    By hitman12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2012, 05:59 PM
  5. [SOLVED] Cash Flow
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2005, 02:05 PM
  6. Cash flow and VBA
    By luke1438 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2005, 06:13 PM
  7. [SOLVED] Cash Flow Set-Up
    By Gary T in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-13-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