+ Reply to Thread
Results 1 to 4 of 4

Concatenate formula that excludes a blank cell in the result

Hybrid View

ensmith Concatenate formula that... 02-01-2016, 09:34 PM
kvsrinivasamurthy Re: Concatenate formula that... 02-01-2016, 10:00 PM
ensmith Re: Concatenate formula that... 02-02-2016, 11:02 AM
sourabhg98 Re: Concatenate formula that... 02-02-2016, 11:20 AM
  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    Phildelphia
    MS-Off Ver
    Excel 2010
    Posts
    75

    Concatenate formula that excludes a blank cell in the result

    I am looking for a concatenate formula that "will not" include a blank cell and only concatenate cells with text only. See attachment for example thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Concatenate formula that excludes a blank cell in the result

    In F2, then drag down
    =IF(AND(ISTEXT(TRIM($D2)),TRIM($D2)<>"",ISTEXT(TRIM($E2)),TRIM($E2)<>""),D2&E2,"")

  3. #3
    Registered User
    Join Date
    06-26-2012
    Location
    Phildelphia
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Concatenate formula that excludes a blank cell in the result

    Thanks for the formula, however is it possible to revise the formula to enable the name in column D to be reflect in column F and only the names in column E that are only adjacent to names in column D, i.e. if there is a name in cells D4&E4 or D4 concatenate with the reulst

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Concatenate formula that excludes a blank cell in the result

    In f2-
    =IF(AND(TRIM(D2)<>"",ISTEXT(TRIM(D2))),D2&IF(AND(TRIM(E2)<>"",ISTEXT(TRIM(E2))),E2,""),"")
    Copy down
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

+ 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. Delivery Note Address Formula that excludes blank lines
    By mikekelly1978 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2015, 09:51 AM
  2. [SOLVED] Formula/Concatenate to ignore a cell if value is blank
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-13-2013, 04:26 PM
  3. Leave cell result blank if blank cell is in formula
    By Grind in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 09-28-2013, 06:15 AM
  4. AverageIF with conditions and excludes value if adjacent cell is blank
    By dbaker4020 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-31-2013, 12:41 PM
  5. Replies: 2
    Last Post: 05-02-2012, 06:22 AM
  6. Replies: 3
    Last Post: 04-09-2012, 02:53 PM
  7. Concatenate VBA Macro that excludes duplicates and zeros... 30+ cells of data
    By supernovanexus in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-20-2012, 01:23 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