Results 1 to 8 of 8

How to correct my combined SumIf and SumProduct calculation in macro coding

Threaded View

cmwilbur How to correct my combined... 08-19-2011, 11:21 AM
cmwilbur Re: How to correct my... 08-19-2011, 04:54 PM
DonkeyOte Re: How to correct my... 08-20-2011, 03:58 AM
cmwilbur Re: How to correct my... 08-22-2011, 11:35 AM
cmwilbur Re: How to correct my... 08-22-2011, 11:49 AM
DonkeyOte Re: How to correct my... 08-22-2011, 12:34 PM
cmwilbur Re: How to correct my... 08-22-2011, 01:58 PM
cmwilbur Re: How to correct my... 08-22-2011, 04:54 PM
  1. #5
    Registered User
    Join Date
    06-11-2010
    Location
    Windsor, Canada
    MS-Off Ver
    Excel 2007
    Posts
    55

    Re: How to correct my combined SumIf and SumProduct calculation in macro coding

    I get a type mismatch error on the following code line. I have no idea what this offset and Address is doing in this code so maybe you could explain. I do not fully understand what you are doing.

    v = v + .Parent.Evaluate("SUMPRODUCT(" & .Offset(,7).Address & "," & .Offset(,1).Address & ")")
    I attached my spreadsheet logic. Look at the following method where I am trying to modify the code:

    Private Sub CalcYTDSummary()
    Attached Files Attached Files
    Last edited by cmwilbur; 08-22-2011 at 11:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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