+ Reply to Thread
Results 1 to 4 of 4

Sumproduct Month VBA

  1. #1
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    Sumproduct Month VBA

    Hi All,

    I have range of data in SheetAI of attached file which contains Date (column B) and numbers (other columns). I am looking for a vba code to add numbers for each months in column AY. Exactly the same table in Sheet2 which I did with sumproduct but in VBA to display in table underneath VBA button. please see attache for more understanding. Any ideas how to get this?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Sumproduct Month VBA

    Hello
    With SUMPRODUCT in VBA, you have to use EVALUATE, for example to fill in your table for 2015 the following code should work:

    Please Login or Register  to view this content.
    DBY

  3. #3
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    Re: Sumproduct Month VBA

    Thank you so much that is exactly what I was looking for.

    Quote Originally Posted by DBY View Post
    Hello
    With SUMPRODUCT in VBA, you have to use EVALUATE, for example to fill in your table for 2015 the following code should work:

    Please Login or Register  to view this content.
    DBY

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Sumproduct Month VBA

    Glad to have helped. Thank you for the Rep Mark.

+ 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. Sumproduct by month
    By mmasonspg in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-06-2021, 03:23 AM
  2. [SOLVED] Month Over Month Headcount with SUMPRODUCT
    By kdalyveris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2020, 04:55 PM
  3. SUMPRODUCT - Month AND Year
    By CarloF in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-19-2015, 12:58 PM
  4. [SOLVED] SUMPRODUCT, OR, Less than Month & Less than Year
    By JUGGAKNOTZZ in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-01-2013, 10:51 AM
  5. SUMIF or SUMPRODUCT Within a month
    By dscheeringa in forum Excel General
    Replies: 4
    Last Post: 08-08-2012, 04:14 PM
  6. SumProduct By Month with #N/A Problem
    By trsmith in forum Excel General
    Replies: 4
    Last Post: 06-16-2009, 11:28 AM
  7. Sumproduct - current month
    By cwik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2007, 11:43 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