+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : copying text with = and getting 0

Hybrid View

Shadow Wizard copying text with = and... 12-09-2010, 03:11 AM
ConneXionLost Re: copying text with = and... 12-09-2010, 03:16 AM
Driven1 Re: copying text with = and... 12-09-2010, 11:53 AM
arthurbr Re: copying text with = and... 12-09-2010, 12:07 PM
  1. #1
    Registered User
    Join Date
    12-09-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    13

    copying text with = and getting 0

    I am trying to automatically change the content of one cell to match another cells text value using =A14 (for example) and, when A14 is empty, the destination cell displays 0. How do I make the cell containing the formula, the destination cell, display a blank cell, if the original (A14) is blank?

    Thus, if the content of A14 is "Hello" and the formula in B14 is "=A14" B14 displays "Hello" However, when the content of A14 is empty, B14 displays 0. When A14 is empty, I also wish B14 to be empty.
    Last edited by Shadow Wizard; 12-09-2010 at 03:13 AM. Reason: Added clerification

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: copying text with = and getting 0

    Try this in your B14 cell:

    =IF(A14="","",A14)
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    12-08-2010
    Location
    Chandler, AZ
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: copying text with = and getting 0

    Quote Originally Posted by ConneXionLost View Post
    Try this in your B14 cell:

    =IF(A14="","",A14)
    This code given above works for me so this should solve your question? Good luck.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: copying text with = and getting 0

    You could also keep the =A14 formula and under Tools - Options - View Tab uncheck "zero values"

    This might of course have unwanted effects elsewhere

+ 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