+ Reply to Thread
Results 1 to 3 of 3

Monthly to Quarterly Cash Flows

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2010
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    33

    Monthly to Quarterly Cash Flows

    Is there a way to use Vlookup but have it return the sum of multiple cells. For instance if you had Jan, Feb, March, etc in A1:A12, with corresponding cash flows in B1:B12, I want my lookup formula to look for a month, say March, but return the sum of the values in the 2 months leading up to March as well (B1:B3) rather than just return the value in cell B3.

    Is that possible? Thanks

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Monthly to Quarterly Cash Flows

    Using your posted scenario
    and
    D1: a month....Nov

    This formula returns the total for the 3 months ending with that month (if the month is Jan of Feb, the formula sums the available months)
    E1: =SUM(INDEX(B1:B12,MAX(MATCH(D1,A1:A12,0)-2,1)):INDEX(B1:B12,MATCH(D1,A1:A12,0)))
    EDITED TO INCLUDE THIS ALTERNATIVE:
    E1: =SUMPRODUCT((ROW(B1:B12)=MATCH(D1,A1:A12,0)-{0,1,2})*B1:B12)
    Is that something you can work with?
    Last edited by Ron Coderre; 06-24-2015 at 11:32 AM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-28-2010
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Monthly to Quarterly Cash Flows

    Yes! Thanks!

+ 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] uncertain cash-flows timing. create monthly cash report
    By excobra in forum Excel General
    Replies: 3
    Last Post: 05-14-2014, 11:10 AM
  2. Monthly to Quarterly Cash Flows
    By Spewart in forum Excel General
    Replies: 1
    Last Post: 05-13-2014, 04:56 AM
  3. Replies: 6
    Last Post: 03-19-2012, 05:39 AM
  4. [SOLVED] IRR formula for monthly cash flows
    By MB Burgis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2006, 11:10 PM
  5. [SOLVED] Template for 40-year quarterly cash flow mixed with some monthly flows
    By janderson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2005, 06:45 AM

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