+ Reply to Thread
Results 1 to 3 of 3

VBA Macro FUNCTION To Sum Up Values of multiplier of muti-Columns

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    Ha Noi, Viet Nam
    MS-Off Ver
    2010
    Posts
    2

    VBA Macro FUNCTION To Sum Up Values of multiplier of muti-Columns

    Dear everyone.

    I have to create a new function that sum of multiplier of muti-columns like below
    A B C D E F G H
    Qty' Price Qty' Price Qty' Price Total
    Code1: 20 5 15 6 21 5.2 =Sum(B3*C3+D3*E3+F3*G3) -> function for this fomula
    Code1: 20 5 15 6 21 5.2 =Sum(B4*C4+D4*E4+F4*G4)
    Code1: 20 5 15 6 21 5.2 =Sum(B5*C5+D5*E5+F5*G5)
    Code1: 20 5 15 6 21 5.2 =Sum(B6*C6+D6*E6+F6*G6)
    Who can help me solve it?
    Many thanks to you.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: VBA Macro FUNCTION To Sum Up Values of multiplier of muti-Columns

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    Please Login or Register  to view this content.
    In Excel Cell

    =GetResult(B3:G3)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    05-13-2015
    Location
    Ha Noi, Viet Nam
    MS-Off Ver
    2010
    Posts
    2

    Re: VBA Macro FUNCTION To Sum Up Values of multiplier of muti-Columns

    It works great.
    Many thanks to you ^^
    Wish you have a great day.

+ 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. Custom multiplier function
    By duff8402 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-03-2014, 10:40 AM
  2. using Countif but also taking into account multiplier values
    By rezarf26 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2014, 03:01 PM
  3. checking integer multiplier Mod function
    By ljoseph in forum Excel General
    Replies: 4
    Last Post: 02-02-2012, 07:46 AM
  4. Data validation for multiplier values
    By Egan in forum Excel General
    Replies: 2
    Last Post: 05-24-2010, 02:35 PM
  5. Muti find & replace function
    By junada0 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-04-2010, 02:34 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