+ Reply to Thread
Results 1 to 4 of 4

Summarising excel table

  1. #1
    Registered User
    Join Date
    11-06-2008
    Location
    Nigeria
    MS-Off Ver
    EXCEL 2007
    Posts
    35

    Summarising excel table

    Hello forum,

    I have an excel table which i have to summarise the content in the table, the contents in two consecutive rolls needs to be mergered together to become one roll, altough i do not know how to explain this better. But i have attached a sample which shows the problem and the solution by the side.
    Hope excel worksheet function will solve these.
    Attached Files Attached Files
    Last edited by shamade2107; 11-03-2009 at 02:42 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising excel table

    Easiest way is with a macro for stuff like this. Run this macro on a copy of your sheet.
    Please Login or Register  to view this content.
    ===========
    How to use the macro:

    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save your sheet

    The macro is installed and ready to use. Press Alt-F8 and select it from the macro list.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-06-2008
    Location
    Nigeria
    MS-Off Ver
    EXCEL 2007
    Posts
    35

    Re: Summarising excel table

    Many thanks forum, I was unable to access internet for the past two days however the macro works fine. IS there any way to make this macro work by clicking a botton as i will continue to update the work sheet.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising excel table

    Use the Forms Toolbar to draw a button on your sheet. It will popup and ask you to assign a macro to it, select this one.

    ==========

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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