+ Reply to Thread
Results 1 to 3 of 3

Combining data depending on another reference cell value

  1. #1
    Registered User
    Join Date
    05-24-2014
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    10

    Combining data depending on another reference cell value

    Hi Everyone!

    I have a problem and looking for some help please.

    attached is a system generated report that provides me line by line damage on vehicles and also points associated to that damage, I am looking for away to combine the damage details also sum the points of damage in one cell per vehicle for example vehicle 1 damage details will go in one cell and total points in another.
    number of lines for 1 vehicle can be different depending on the damage.


    I have tried to explain the issue as best as possible but if you have any questions please feel free to ask.

    Thank you
    Tariq
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Combining data depending on another reference cell value

    Here is a VBA solution

    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 code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-24-2014
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    10

    Re: Combining data depending on another reference cell value

    alansidman That's Perfect Thank you!!

+ 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] Combining two formulas apply one or the other depending on cell value
    By ryanb4614 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-08-2016, 02:16 PM
  2. [SOLVED] Combining cell data to form a Named Range reference
    By JimDandy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-23-2015, 12:24 PM
  3. Replies: 14
    Last Post: 11-14-2012, 11:24 AM
  4. Replies: 4
    Last Post: 08-03-2011, 06:34 AM
  5. Change cell reference depending on date
    By freud1 in forum Excel General
    Replies: 2
    Last Post: 06-11-2009, 08:07 AM
  6. Combining formula and cell reference
    By Drew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-17-2006, 05:55 AM
  7. Combining cell reference with text
    By mattflow in forum Excel General
    Replies: 5
    Last Post: 12-05-2005, 05:40 PM

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