+ Reply to Thread
Results 1 to 4 of 4

Concatenate cells and replace if a particular cell is blank

  1. #1
    Registered User
    Join Date
    01-13-2016
    Location
    Canada
    MS-Off Ver
    Office 2007
    Posts
    14

    Concatenate cells and replace if a particular cell is blank

    Hello! I have a group of cells I'm concatenating and my formula is working great. The issue I'm having is that one of the fields I'm pulling from is sometimes blank until it's updated later on. I'd like it so that if the field is blank, it enters my "PENDING" text. Examples below:

    My formula is: =CONCATENATE(A1,", ",A2, " - ",C1)

    What I currently have:
    A B C D E
    1 Smith John 1044 Smith, John - 1044
    2 Rodgers Aaron Rodgers, Aaron -
    3 Lucas Spencer 1087 Lucas, Spencer - 1087
    4 Banjo Shawn Banjo, Shawn -

    What I'd like to happen:
    A B C D E
    1 Smith John 1044 Smith, John - 1044
    2 Rodgers Aaron Rodgers, Aaron - PENDING
    3 Lucas Spencer 1087 Lucas, Spencer - 1087
    4 Banjo Shawn Banjo, Shawn - PENDING

    I know it involves an IF and I've tried, but I tend to mess stuff up when I start trying to nest functions. Which is what's happening now. Any suggestions would be greatly appreciated

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Concatenate cells and replace if a particular cell is blank

    =concatenate(a1,", ",a2, " - ",if(c1<>"",c1,"pending"))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Concatenate cells and replace if a particular cell is blank

    Try something like this, copied down
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    01-13-2016
    Location
    Canada
    MS-Off Ver
    Office 2007
    Posts
    14

    Re: Concatenate cells and replace if a particular cell is blank

    Thank you both so much for your help! Working perfectly now! :D

+ 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. Replace Blank Cells with Information from Another Cell
    By rmalecha in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2014, 01:22 PM
  2. CONCATENATE non-blank cells
    By ScottBeatty in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-10-2014, 02:37 PM
  3. [SOLVED] Concatenate If Blank - remove blank line if first cell is blank
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 02:14 PM
  4. [SOLVED] Replace blank cells with ZERO using Find Replace
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-25-2014, 04:47 PM
  5. Replies: 0
    Last Post: 04-07-2009, 04:42 PM
  6. [SOLVED] Concatenate Non Blank Cells
    By ssjody in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2005, 08:30 AM
  7. Replies: 1
    Last Post: 01-15-2005, 06:06 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