+ Reply to Thread
Results 1 to 2 of 2

Adding text from different rows into one column contingent on another row function

Hybrid View

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Adding text from different rows into one column contingent on another row function

    Hi Guys,

    I want to be able to merge the text from a few rows onto another column based on the text found in the rows next to it.

    For example, I want to create a new column for Sizes of a product which should be XXS, XS, S, M, L, XL, XXL

    I can do that no problem with the =(&", "&) function but to do it manually for 40,000 different rows is painful. How can I create a function that will check the text of the column next to it, if it is the same text than it will merge it into the function =(&", "&) and if it changes then it will move on to the next row.

    See the example attached.

    I want the cells in Column H to check the text in Column E. For example, if the text in Column E is the same for 5 rows than it will output whatever text is in Column H with the =(&", "&) function. If it is different, and changes to a different text in Column E than it should create the same output just with the text from the cells in H that correspond to the new text in E.

    Please help me out. I have been wrapping my brain on this for hours and can't seem to get it right!
    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 2406 Win 11 Home 64 Bit
    Posts
    23,982

    Re: Adding text from different rows into one column contingent on another row function

    I am not understanding what you want to do. Please provide an example as your explanation is not clear.
    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

+ 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. Summing Numbers contingent on text
    By Janie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2014, 11:34 AM
  2. Replies: 3
    Last Post: 11-08-2012, 09:29 PM
  3. Replies: 3
    Last Post: 09-22-2011, 03:59 PM
  4. Macro to add formatted rows contingent upon some values in Excel 2007
    By NiceLittleRabbit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2010, 02:34 PM
  5. Column Total Contingent Upon Another Column
    By LS Flowers in forum Excel General
    Replies: 11
    Last Post: 08-06-2008, 02:57 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