+ Reply to Thread
Results 1 to 4 of 4

VBA code to get the SUM product from MAXIF

  1. #1
    Registered User
    Join Date
    07-02-2015
    Location
    ina
    MS-Off Ver
    2013
    Posts
    2

    VBA code to get the SUM product from MAXIF

    anyone please help me solved this problem
    i need to sum all the max value with some condition from several array
    i knew how to do it with formula but i need the VBA code for that

    this is the file that still become a problem for me maxif.xlsx

    regards,
    YEDI

  2. #2
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: VBA code to get the SUM product from MAXIF

    Check the Attached Macro...
    Attached Files Attached Files
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

  3. #3
    Registered User
    Join Date
    07-02-2015
    Location
    ina
    MS-Off Ver
    2013
    Posts
    2

    Re: VBA code to get the SUM product from MAXIF

    thank you Parth, that was a big help for me but if the range not just 5 coloumns do i have to write the formula array like that
    can't i use while or for to calculate that?

    regards,
    YEDI

  4. #4
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: VBA code to get the SUM product from MAXIF

    Hi Yedi,

    Yes ytou can change the code accordingly...
    Please Login or Register  to view this content.

+ 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. Link product image to product code
    By rogan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2013, 02:51 AM
  2. [SOLVED] 4 digit code for similar product, new product unique code
    By unclejemima in forum Excel General
    Replies: 47
    Last Post: 06-06-2013, 01:02 PM
  3. Change product code for each customer into relevant code
    By Even in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-12-2013, 04:36 PM
  4. [SOLVED] Need Function that will find ordered product, and display the product code in a 2nd workbk
    By rollerden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2012, 08:52 AM
  5. Lookup:product code.
    By Matt C in forum Excel General
    Replies: 1
    Last Post: 04-07-2006, 09:58 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