+ Reply to Thread
Results 1 to 2 of 2

VBA Sumproduct Variable Query

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    VBA Sumproduct Variable Query

    Hi,

    I have another query on Subproduct, so far the help I've had has been excellent so hopefully this will be the last on this area....


    I have the code;
    Please Login or Register  to view this content.
    I have tried to use the variable within the Sumproduct code, so instead of the code highlighted above, I want to use the following;
    Please Login or Register  to view this content.
    but I get a "Run-time error 13 .... Type mismatch" error MSG. Using the variable works in the 'AverageIfs' code.

    Please could someone point me in the right direction. Thanks.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA Sumproduct Variable Query

    you can try this...untested
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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