+ Reply to Thread
Results 1 to 2 of 2

Replacing Filtered Data with Concatenated Results

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    1

    Replacing Filtered Data with Concatenated Results

    Hi,

    I'm new to using functions in excel, and I'm having trouble with what I believe should be a simple fix.

    I have a pre-populated excel report which populates information in several columns. Think of it like this:

    F--------G-------H----------------I
    1 This is a sample of what I'm dealing with
    2 There are up to hundreds of rows of information
    3 I only need about twenty to actually show up
    4 This is the row I will use as a sample

    First, I use the filter to get rid of unneeded rows (in this case 1-3). I do not need the other text at all, it could be deleted.

    Then, I need to concatenate the info, so I use the formula =CONCATENATE($F1, " ", $G1, " ", $H1, " ", $I1), and copy it to an entire column, creating this:

    F------G-------H----------------I-------------------------K
    4 This is the row I will use as a sample --------------------- This is the row I will use as a sample


    So now, I want to replace the original information with the concatenated information. This is the formula I tried: = REPLACE($F2 & $G2 &$H2 & $I2, 1, 1024, $K2)

    It populates the concatenated info to the cell in which I placed the formula and does not replace the info in the other cells. [Edit]: I should explain that I did 1024 because that was the maximum number of letters populated per cell.

    I'm hoping someone on this forum could help me learn how to fix this. I am trying to learn about functions, so I don't want just the answer. I'd like to learn from my mistakes!

    Thank you!
    Last edited by easbrrx; 12-17-2013 at 11:02 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Replacing Filtered Data with Concatenated Results

    Hi,
    With build-in functions, there is no way to repace content of any cell.
    If I understand you well, you have already the result in K column.
    1) How to:
    So now shall select all column K, copy it, and PasteSpecial as Values into column F.
    Now you can Delete no longer needed column K, as well as columns G:I
    2) REPLACE function:
    See how it works (before column K is deleted) try in L2:
    Please Login or Register  to view this content.
    Then probably explanation in help file will be more clear
    3) Filtering:
    If you want to get rid of unwanted text - use filter with opposite criteria (to have only unwanted text visibe.
    Then select all visible rows with data (this unwanted). I mean all rows - the row numbers on the left shall have dark background.
    Delete selected rows and switch off filter. Only interesting data shall remain. No empty lines etc.

    Best Regards,

+ 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] How to pull data based on Filtered results - To create Statement of Account
    By ec4excel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-28-2013, 11:36 AM
  2. [SOLVED] Filtering Data and copying only filtered results
    By bigfishprf in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-07-2013, 07:51 AM
  3. Formatting Concatenated results in 1 cell
    By David_S_Walker in forum Excel General
    Replies: 6
    Last Post: 07-18-2011, 08:59 AM
  4. Count in filtered list and display results in table on right of data
    By raydaw in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2009, 05:14 AM
  5. date field not updating concatenated results
    By Scooby-Ray in forum Excel General
    Replies: 2
    Last Post: 07-28-2008, 05:47 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