+ Reply to Thread
Results 1 to 2 of 2

Sum row values based on a start month, and number of months

  1. #1
    Registered User
    Join Date
    01-04-2018
    Location
    USA
    MS-Off Ver
    Standard 2013
    Posts
    2

    Sum row values based on a start month, and number of months

    Greetings,

    There must be a simpler way with a formula...Trying to sum a row of values based on a start month, then a number of months following that would be entered by the user - would include the start month.

    Thanks for any assistance.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Sum row values based on a start month, and number of months

    Scott Emmanuel, Good evening.

    Try to use this formula:
    =SUMPRODUCT(($E$4:$W$4>=B5)*($E$4:$W$4<=DATE(YEAR(B5),MONTH(B5)+C5-1,DAY(B5)))*(E5:W5))

    Please, take a look at this example and tell us if it worked as desired.

    I hope it helps.
    Attached Files Attached Files
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

+ 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] Listing months in columns based on user defined start month
    By mashley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2014, 01:31 PM
  2. Replies: 1
    Last Post: 05-02-2014, 03:05 PM
  3. [SOLVED] Need formula to calucalte based on start month # and duration # of months
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2014, 05:59 PM
  4. [SOLVED] Return number of hours per month based on start and end dates
    By sparky1231 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-29-2014, 12:33 PM
  5. Replies: 3
    Last Post: 10-23-2012, 09:04 PM
  6. [SOLVED] Calculate date based on number of weeks or months after start date
    By wotsup in forum Excel General
    Replies: 3
    Last Post: 08-17-2012, 06:00 AM
  7. Code for auto filling in Excel based on number of months, & start date
    By Diane Sulton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 09:20 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