Results 1 to 4 of 4

Only show formula results if not 0 (zero)

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-24-2008
    Location
    San Antonio, Texas
    Posts
    118

    Only show formula results if not 0 (zero)

    I currently have a formula set to look at cell A2 and provide Friday's Date in cell B2 if Monday through Friday.

    For Example:

    Mon 10/27/2008 then formula result is 10/31/2008
    Tuesday 10/28/2008 then formula result is 10/31/2008....etc.

    Below is the formula I am using.

    =IF(WEEKDAY(D2,1)>=6,D2+((6-WEEKDAY(D2,1)))+6,D2+((6-WEEKDAY(D2,1))))

    I only want the formula result to display if the result is NOT equal to 0 (zero). So if there is no date in A2 then the B2 would be a blank cell with no formula results. Currently the result of the formula in B2 if A2 is blank is 1/5/1900 (Date Format)

    Any help would be greatly appreciated.
    Last edited by randolphoralph; 10-29-2008 at 12:16 PM.

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