Closed Thread
Results 1 to 10 of 10

How to avoid a 0 when linking to a blank cell with formatting

Hybrid View

  1. #1
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to avoid a 0 when linking to a blank cell with formatting

    or just custom format
    0;-0;;@
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  2. #2
    Registered User
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to avoid a 0 when linking to a blank cell with formatting

    Here is the situation i am stuck with. I have two tabs in the excel attached, one is Linked tab and the other is Destination tab and
    here is what i want to see the result in the Linked tab -

    If cell D2 in Destination tab is blank, i want to see cell D4 in Linked tab blank without any zero or '-'.
    If cell E2 in Destination tab is zero or '-', i want to see cell E4 in Linked tab as zero or '-'.

    Could you please help resolving this?

    Thanks
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: How to avoid a 0 when linking to a blank cell with formatting

    Hello,
    hope this can help you,
    I putted =REPLACE('Destination tab'!D2,1,0,"") in linked tab!D4
    and =REPLACE('Destination tab'!E2,1,0,"") in linked tab! E4
    and got the result you were waiting for.

    With this function here i replace zero but you can do the same with anything.

Closed 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