+ Reply to Thread
Results 1 to 4 of 4

To Summarize Data and Accumulate Other Related data into One Cell

  1. #1
    Registered User
    Join Date
    01-10-2017
    Location
    Pahang, Malaysia
    MS-Off Ver
    2010
    Posts
    41

    To Summarize Data and Accumulate Other Related data into One Cell

    I have some items, which have been defined into group....but located in different location...
    So, I like to summarize all the items, then accumulate the location which the item located into one cell.

    In data table, the first column would be the item group, then the next column would be the location of the item.
    For example, Item A, located in Yard,Shed,Warehouse,Office,Yard,Shed,Warehouse,Office as per from data table.

    As example, please find attached the Excel file.
    Last edited by ajimieta; 02-15-2017 at 09:07 PM.
    Ajimieta Kuantan

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: To Summarize Data and Accumulate Other Related data into One Cell

    The only way I know to do this is to use VBA. The user defined function CONCATALL ... code is below ... used in this way will do what you want.

    The code is below this formula. Array enter this formula in F5 of your workbook and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Instructions for installing the code is below this code window. The code for CONCATALL is:

    Please Login or Register  to view this content.
    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)

    To run the Excel VBA function:
    Enter the formula as above.
    Dave

  3. #3
    Registered User
    Join Date
    01-10-2017
    Location
    Pahang, Malaysia
    MS-Off Ver
    2010
    Posts
    41

    Re: To Summarize Data and Accumulate Other Related data into One Cell

    Quote Originally Posted by FlameRetired View Post
    The only way I know to do this is to use VBA. The user defined function CONCATALL ... code is below ... used in this way will do what you want.

    The code is below this formula. Array enter this formula in F5 of your workbook and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Instructions for installing the code is below this code window. The code for CONCATALL is:

    Please Login or Register  to view this content.
    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)

    To run the Excel VBA function:
    Enter the formula as above.
    Thanks for your effort on this. It helpful

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: To Summarize Data and Accumulate Other Related data into One Cell

    You're welcome. Thanks for the feedback and the rep.

+ 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. [SOLVED] Accumulate all data in Masterworkbook from various other workbooks in the folder
    By harman83 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-13-2015, 12:44 AM
  2. Accumulate data from multiple workbooks
    By Saarang84 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-20-2015, 01:03 PM
  3. [SOLVED] Summarize all data meeting condition in one cell
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2015, 05:45 PM
  4. Replies: 1
    Last Post: 02-10-2014, 11:42 PM
  5. need to summarize data based on value in cell
    By s4driver in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-22-2013, 02:09 PM
  6. formula to seach and accumulate data from another sheet
    By livifivil in forum Excel General
    Replies: 6
    Last Post: 03-11-2008, 04:13 AM
  7. Displaying all data related to one Cell criteria
    By Madcap in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-30-2005, 04:08 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