Empty Cells
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Empty Cells

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    How do you make a cell empty using an "if" statement in that same cell?
    We are plotting these cells in a chart. Right now the "if" statement places a zero length string in the cell and the chart plots a zero value. We want the chart to plot nothing for this cell. The chart will plot nothing if the cell is empty.

    Code example
    =IF(A57<=NOW(),G57,"")

    How can I get around this issue?

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,869
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default


    Try returning #N/A instead of "" :

    =IF(A57<=NOW(),G57,NA())

    If desired, you can cond format #N/A's white.

  3. #3
    New Member
    Join Date
    Feb 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks Aladin It worked.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com