+ Reply to Thread
Results 1 to 5 of 5

Combine sum + offset + countif

  1. #1
    Registered User
    Join Date
    11-06-2014
    Location
    madrid
    MS-Off Ver
    2013
    Posts
    4

    Combine sum + offset + countif

    Hi everyone,

    I need a formula to sum the cash flow for debt service row only the years that I have debt repayments.

    Can you give me any help?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine sum + offset + countif

    Hi,

    You may need to clarify with an example. I'm assuming any number on row 16 is a debt repayment and by sum you mean a cumulative sum, but clarify if necessary.

    In say G18 copied across

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-06-2014
    Location
    madrid
    MS-Off Ver
    2013
    Posts
    4

    Re: Combine sum + offset + countif

    What I really want to do is to calculate the NPV of the Cash flows for debt service but only including in the range the years that I have debt repayments.

    I need to take out of this range +NPV(5%;$H$15:$AE$15) the years that I don't have debt repayments.

  4. #4
    Registered User
    Join Date
    11-06-2014
    Location
    madrid
    MS-Off Ver
    2013
    Posts
    4

    Re: Combine sum + offset + countif

    I Think this should function: NPV(0,05;H15:OFFSET(H15;0;COUNTIF(H19:AE19;"<0")))

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine sum + offset + countif

    Hi,

    Please remember to be as accurate in your request as possible. Your first post merely mentioned summing the cash flows whereas it now seems you are wanting a NPV calculation.

+ 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] How to combine IF statement in OFFSET function?? Please Help
    By xadieu in forum Excel General
    Replies: 17
    Last Post: 06-12-2012, 11:52 AM
  2. Replies: 5
    Last Post: 05-31-2012, 10:20 AM
  3. Combine sum, offset, and countif functions
    By cbarr1987 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2012, 11:32 AM
  4. Combine SUM and OFFSET
    By SaabKen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-29-2011, 04:49 PM
  5. Combine vlookup with offset?
    By BRISBANEBOB in forum Excel General
    Replies: 3
    Last Post: 06-03-2010, 06:37 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