+ Reply to Thread
Results 1 to 6 of 6

Conditional String Concatenation based on different cell being empty or not

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    Round Rock, Texas
    MS-Off Ver
    Excel 2013
    Posts
    9

    Conditional String Concatenation based on different cell being empty or not

    I am trying to fill a cell with a certain concatenated string if a different cell is empty and if that 2nd cell is not empty, then I will use a different concatenated string.

    For example:

    A1...........................A2.....................A3...............................A4 would be:

    Bob.........................01.....................Black Light.....................(Bob 01) Black Light
    ......................................................A Time to Hunt...............A Time to Hunt


    I think I can figure out the concatenation pieces, but not the conditional bits (I'm a Excel novice - or whatever is less than a novice).

    TIA
    Last edited by MrGadget6977; 08-16-2013 at 12:03 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Conditional String Concatenation based on different cell being empty or not

    try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  3. #3
    Registered User
    Join Date
    08-16-2013
    Location
    Round Rock, Texas
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Conditional String Concatenation based on different cell being empty or not

    Indeed that seems to do the trick , Craig, and a heck of a lot simpler than where I had taken myself!

    Thanks a bunch for the speedy response!

  4. #4
    Registered User
    Join Date
    08-16-2013
    Location
    Round Rock, Texas
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Conditional String Concatenation based on different cell being empty or not

    I can't see how to mark this thread as solved ??

  5. #5
    Registered User
    Join Date
    08-16-2013
    Location
    Round Rock, Texas
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Conditional String Concatenation based on different cell being empty or not

    Found it ....

  6. #6
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Conditional String Concatenation based on different cell being empty or not

    Glad I could help

+ 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. MACRO to empty a range of cells based on whether specified cell is empty
    By TBJV in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2013, 10:35 PM
  2. Replies: 1
    Last Post: 09-27-2012, 02:12 PM
  3. Calculate non-empty rows for concatenation
    By Internoob2 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-03-2011, 12:25 AM
  4. Conditional formating based on specific text in string in another cell
    By mraheelgujjar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2011, 01:09 PM

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