+ Reply to Thread
Results 1 to 6 of 6

How to summarize/combine texts from Columns

  1. #1
    Registered User
    Join Date
    11-22-2022
    Location
    Dayton, OH
    MS-Off Ver
    Version 2210 (Build 15726.20202)
    Posts
    3

    Post How to summarize/combine texts from Columns

    Hello!

    New user on this Forum, with extensive Excel experience.
    I'm stuck on how to combine the texts in two columns in Excel.

    Concat Issue.jpg

    I'm having the following issues:
    I have a Column A, and Column B with text values;
    For example
    Column A with "Enrolled", and blanks, and Column B with "Enrolled", and blanks
    Some of these text values are side by side which lets me know, they are confirmed as "Enrolled" based on two criteria searches using xlookup.
    Some of these text values, are TRUE for Column A, and TRUE for Column B. I want Column C to "Concat" these, or combine them to say "Enrolled". I do not want to actually use Concat because that might give me "EnrolledEnrolled", or "Enrolled Enrolled." I simply want it to return the text "Enrolled", if Column A:Column B contains text "Enrolled". Any ideas on how I could do this. I did try a concat, and it doesn't really look right, or return the values 100% of the time.

    I should also mention that the texts in those columns are "Enrolled" as a result of a formula. Does that matter?

    Need the community's help! Thanks!
    Attachments are iffy at the moment since the source is HIPAA protected. -But might create a ghost sheet if necessary.
    Last edited by CRM-Alex; 11-23-2022 at 09:18 AM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: How to summarize/combine texts from Columns

    try

    =IF(OR(A2="Enrolled",B2="Enrolled"),"Enrolled","")
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    11-22-2022
    Location
    Dayton, OH
    MS-Off Ver
    Version 2210 (Build 15726.20202)
    Posts
    3

    Re: How to summarize/combine texts from Columns

    This works! But it did not work, where there are formula errors.

    Where is does work, is that it acted as a "combination", or summary of the same texts in both columns. It resulted in "Enrolled", where A, and/or/if B says Enrolled.

    Where is does not work is if the formula in A, or B is an error - it returns an error. Thanks John!. I do like this formula however, so I'll keep it around in case I can solve the Errors in the columns.
    Attachment 806159

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How to summarize/combine texts from Columns

    Perhaps then

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: How to summarize/combine texts from Columns

    See post #4 for ERROR handling

  6. #6
    Registered User
    Join Date
    11-22-2022
    Location
    Dayton, OH
    MS-Off Ver
    Version 2210 (Build 15726.20202)
    Posts
    3

    Re: How to summarize/combine texts from Columns

    Marvin - this worked, I also simplified some other formulas coming in! Very helpful, thanks fellas.

+ 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. Replies: 2
    Last Post: 05-24-2021, 12:24 PM
  2. Combine a formula from texts in different cells by VBA
    By KennyKe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2020, 06:28 AM
  3. Replies: 11
    Last Post: 04-09-2019, 09:50 AM
  4. combine texts from multiple rows based on condition
    By saj123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2018, 02:43 PM
  5. VBA to combine texts from cells to a single based on another cell value
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2013, 10:05 AM
  6. [SOLVED] combine texts from two field and then delete duplicate.
    By mshtuhin in forum Excel General
    Replies: 4
    Last Post: 07-13-2012, 11:31 AM
  7. combine parts of texts from few cells into one
    By Ramzes in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-07-2010, 02:38 AM

Tags for this Thread

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