+ Reply to Thread
Results 1 to 4 of 4

Return Blank Cell, if no value in the cell on the left

  1. #1
    Registered User
    Join Date
    03-06-2004
    Posts
    53

    Return Blank Cell, if no value in the cell on the left

    So i am using this simple IF function, to count days from cell F8, can't figure out a way to return a blank cell , if the cell F8 has no value. Any help?

    PHP Code: 
    =IF((F8>30),"NO","YES"
    Last edited by bholabhala; 07-14-2011 at 05:52 PM.

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

    Re: Return Blank Cell, if no value in the cell on the left

    Try:

    =IF(F8="","",IF(F8>30,"NO","YES"))
    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.

  3. #3
    Registered User
    Join Date
    03-06-2004
    Posts
    53

    Re: Return Blank Cell, if no value in the cell on the left

    Quote Originally Posted by NBVC View Post
    Try:

    =IF(F8="","",IF(F8>30,"NO","YES"))
    I tried

    =IF(G8="","",IF(G8>30,"NO",IF(G8<30,"YES")))

    Its returning a "YES" instead of blank cell. Just an FYI, Cell G8 contains this formula: =DAYS360(E8,F8)

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

    Re: Return Blank Cell, if no value in the cell on the left

    So then G8 won't be blank, it will have a 0 at minimum....

    If that is the case, then

    =IF(F8=0,"",IF(F8>30,"NO","YES"))

+ 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