+ Reply to Thread
Results 1 to 9 of 9

How do you do a "if cell empty, then fill with text from another column"?

  1. #1
    Registered User
    Join Date
    10-11-2011
    Location
    Reunion, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    10

    How do you do a "if cell empty, then fill with text from another column"?

    I have Column G that has some cells that are missing text. I would like Column G to replace an cells that have are missing text with the text from Column C in that respective row. Is that easy to do?
    Last edited by Will D; 10-13-2011 at 11:06 AM.

  2. #2
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: How do you do a "if cell empty, then fill with text from another column"?

    could you attach a sample with what you have and what your result should be?
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Registered User
    Join Date
    10-11-2011
    Location
    Reunion, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How do you do a "if cell empty, then fill with text from another column"?

    Column C
    Row 1- Abc
    2- Def
    3- Ghi
    4- Jkl
    5- Mno
    6- Pqr
    7- Stu
    8- Vwx
    9- Yz

    Column G
    Row 1- Ab
    2-
    3- G
    4- Jk
    5-
    6- Pq
    7-
    8- V
    9-

    Results (in red):

    Column G
    Row 1- Ab
    2- Def
    3- G
    4- Jk
    5- Mno
    6- Pq
    7- Stu
    8- V
    9- Yz

  4. #4
    Registered User
    Join Date
    10-11-2011
    Location
    Reunion, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How do you do a "if cell empty, then fill with text from another column"?

    Does that make sense? If a cell in Column G is empty, then it needs to be replaced with the text in Column C from the respective row in Column C.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do you do a "if cell empty, then fill with text from another column"?

    You need to temporarily add a helper column with a formula.

    E.g. =IF(G2="",C2,G2)

    copied down.

    Then you can copy this column, go to column G and Paste Special | Values over column G.

    Then delete the helper column.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How do you do a "if cell empty, then fill with text from another column"?

    NBVC, you just beat me... I was going to post the same thing .

  7. #7
    Registered User
    Join Date
    10-11-2011
    Location
    Reunion, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How do you do a "if cell empty, then fill with text from another column"?

    I don't quite understand what to do. Is it possible to add 1 formula to an entire column? Or do I need to add a formula to each row?

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do you do a "if cell empty, then fill with text from another column"?

    You add it once in in row 2, then copy the formula down. You click and drag the little black square at the bottom right corner of the cell with formula.

  9. #9
    Registered User
    Join Date
    10-11-2011
    Location
    Reunion, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How do you do a "if cell empty, then fill with text from another column"?

    Incredible. It worked. Can you explain the formula so that I will understand it in the future?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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