+ Reply to Thread
Results 1 to 2 of 2

Thread: Grouping and Summing by Macros

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    cochin,India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Grouping and Summing by Macros

    SOURCE
    ***************************
    ITEM NUMBER
    A 2
    A 4
    B 2
    A 10
    C 6
    C 7
    B 4
    G 2
    L 8



    RESULT
    *******************
    ITEM TOTAL(NUMBER*100)
    A 1600
    B 600
    C 13
    G 2
    L 8


    Can someone please help me to write a macro for this ?????????????? This is very urgent please help .

  2. #2
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: Grouping and Summing by Macros

    The easiest way to do this is with a Pivot table, using a calculated field for the multiplication by 100.

    The next best thing would be a formula solution with Sumif or Sumproduct.

    The last thing to attempt would be a macro, because it would just re-invent the wheel for the functionality that Excel already provides.

+ 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.2.0