+ Reply to Thread
Results 1 to 4 of 4

formula to return blank cell - IF function

  1. #1
    Registered User
    Join Date
    06-07-2006
    Posts
    57

    formula to return blank cell - IF function

    Hi, I have an IF formula in the attached, what I need is for it to return a blank cell if it returns 0, or in the case of Dates - 0 Jan 00 (which is the default date it brings up)

    Can anyone help?

    many thanks
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: formula to return blank cell - IF function

    To avoid double iteration just use a Custom Format on the cells in question, eg: [=0]"";d mmm yy

    Same principle can be applied to other cells - simply alter the other format that is required based on data type, eg (assuming positive commission only): [=0]"";0.00

    does that help ?

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: formula to return blank cell - IF function

    Hi, you need to check your condition. All your formulas evaluate the FALSE part of the IF() statement.

    I don't quite understand what you are testing with your condition, so maybe you could explain?

  4. #4
    Registered User
    Join Date
    06-07-2006
    Posts
    57

    Re: formula to return blank cell - IF function

    Hi DonkeyOte - I didn't know you could do that with the custom format! Thanks very much for the new trick!

+ 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