+ Reply to Thread
Results 1 to 4 of 4

Thread: A macro to combine and sum similiar cells

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Miami
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question A macro to combine and sum similiar cells

    I need to create a macro that can create several consolidated and sum tables based on 2 columns of info. The columns have info separated by a space for example:

    A 3
    B 3
    C 1

    D 4
    A 1
    D 2

    V 1
    V 2
    V 3

    This should yield
    Table 1 Table 2 Table 3
    A 3 A 1 V 6
    B 3 D 6
    C 1

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: A macro to combine and sum similiar cells

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Miami
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: A macro to combine and sum similiar cells

    Oh ok thanks for the advice, I guess it was confusing. Ive attached an example of some raw data and the charts that the macro should deliver.
    Attached Files Attached Files
    Last edited by VBAnoob88; 06-22-2010 at 09:06 AM.

  4. #4
    Registered User
    Join Date
    06-21-2010
    Location
    Miami
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question Re: A macro to combine and sum similiar cells

    i can record a macro to do what I want but it only does a set amount. I want the macro to be able to automatically make the new list based on a blank cell not matter the length of the list.

+ 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