+ Reply to Thread
Results 1 to 7 of 7

Creating a new identifier column with Concatenate and IF, IS Blank

  1. #1
    Forum Contributor
    Join Date
    02-13-2016
    Location
    BMass
    MS-Off Ver
    2010
    Posts
    154

    Creating a new identifier column with Concatenate and IF, IS Blank

    Hi, I have 3 columns of data and I'm trying to put together a formula using the IF function and is blank but I'm not getting results in 2013 excel. I want to concatenate cells a3 and b3 if cell c3 is blank, if cell c3 is not blank i want to concatenate cells a3 and c3 into column d.

    I've tried IF(Isblank(c3),concatenate(a3,b3),concatenate(a3,c3)) My2013 is not highlighting the part of the formula that is the problem (why would that be too?) so I can't troubleshoot it by point.

    Thanks.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    Try this:

    D3 =IF(C3="",A3&B3,A3&C3)

    or a little shorter...

    D3 =A3&IF(C3="",B3,C3)

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    If C3 is empty, you formula should work, but if C3 contains a formula that is returning "", then it is not blank, even if it appears to be
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    02-13-2016
    Location
    BMass
    MS-Off Ver
    2010
    Posts
    154

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    @FDibbins, C3 does contain a formula that returns a blank "appearing" cell. Thank you.

    @63falcondude, thank you!
    Last edited by TreeLife; 09-17-2018 at 03:40 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    I kinda figured, thats why most of us use ="" instead of isblank()

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    Thanks for the feedback

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Creating a new identifier column with Concatenate and IF, IS Blank

    Happy to help. Thanks for the rep!

+ 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. Concatenate cells with 5 characters each column but ignore if blank
    By ghiegomez in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-25-2020, 12:09 AM
  2. Creating a unique identifier for each new sheet.
    By frankday in forum Excel General
    Replies: 1
    Last Post: 08-06-2018, 05:26 PM
  3. To concatenate column headers if value in rows below is non-blank
    By chibidee in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-17-2015, 06:19 AM
  4. Creating unique identifier field using Countifs
    By palmam in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2015, 07:18 PM
  5. [SOLVED] Concatenate if other column value is non-blank or non-zero BUT IN DESCENDING ORDER
    By Petros Georgilas in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-08-2014, 04:26 PM
  6. Concatenate non-blank values in the same column and add commas
    By chris.huang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2013, 08:52 PM
  7. Replies: 1
    Last Post: 06-24-2008, 03:44 PM

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