+ Reply to Thread
Results 1 to 3 of 3

if condition for blank cell values

  1. #1
    Registered User
    Join Date
    07-31-2008
    Location
    United States
    Posts
    38

    if condition for blank cell values

    hello xl xperts,

    I'm back again. I was able to get some help from one of the xl x-perts here a while ago. He was able to provide me a working formula which is:
    Please Login or Register  to view this content.
    Formula works in away that it displays the statement "ON TIME" if the difference of time1 and time2 is less than 15 minutes...However if the diffrence between time1 and time2 is greater than 15minutes then it will display the exceeded minutes like "00:05" What I would like to do now is, is there anyway that when cells in time1 and time2 are empty then the expression is blank? currently if I copy the entire formula in a range of cells, it gives a default value of "On Time" even though cells in time1 and time2 are blank. I would like to have the cell with the formula above blank, while cells in time1 and time2 are empty. I appreciate any assistance.

    Thanks,

    Burke

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    This formula returns a blank unless both F4 and G4 have a value

    =IF(COUNT(F4,G4)=2,IF(G4-F4<="0:15"+0,"ON TIME",G4-F4-"0:15"),"")

  3. #3
    Registered User
    Join Date
    07-31-2008
    Location
    United States
    Posts
    38
    hello daddylonglegs,

    Thanks a lot man! Formula works perfectly! I appreciate your timely response. Thanks again!

    Burke

+ 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