+ Reply to Thread
Results 1 to 5 of 5

Hide a calculated date using the WORKDAY function when a cell is blank

  1. #1
    Registered User
    Join Date
    02-21-2022
    Location
    USA
    MS-Off Ver
    Microsoft Office 365 ProPlus Subscription
    Posts
    2

    Hide a calculated date using the WORKDAY function when a cell is blank

    Hello,

    I am having issues trying to hide a calculated date using the WORKDAY function when a cell is blank. I am using =WORKDAY(G2,45) I am calculating 45 days from the initial start date for each project. G = start date of the project, M = closure date (45 days from G). When pasting the function down column M I get a date of 3/2/1900 when the data is G column is blank. Is there any way to hide this date when using the WORKDAY function?

    Thank you
    Chad
    Last edited by AliGW; 02-21-2022 at 10:28 AM. Reason: Title changed - please think more carefully about your thread titles in future!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Hide a calculated date using the WORKDAY function when a cell is blank

    Administrative Note:

    Welcome to the forum.

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you aare new here, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Hide a calculated date using the WORKDAY function when a cell is blank

    Try this:

    =if(G2="","",WORKDAY(G2,45))

  4. #4
    Registered User
    Join Date
    02-21-2022
    Location
    USA
    MS-Off Ver
    Microsoft Office 365 ProPlus Subscription
    Posts
    2

    Re: Hide a calculated date using the WORKDAY function when a cell is blank

    Thank you for your help! the solution provided worked. Also, I have updated my profile to show my MS-Office version correctly. I will ensure any future posts are done correctly.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Hide a calculated date using the WORKDAY function when a cell is blank

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to combine the WORKDAY function with an IF function to build a working Gantt chart.
    By roomaggoo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 07-07-2018, 11:54 AM
  2. Replies: 0
    Last Post: 07-07-2018, 04:13 AM
  3. Workday.INTL or Workday function issue
    By junoon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 03:14 PM
  4. [SOLVED] workday function
    By shaknark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2012, 11:41 PM
  5. WORKDAY function
    By ericwkn in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-11-2010, 11:06 AM
  6. WORKDAY Function
    By PhilH1982 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-10-2008, 11:52 AM
  7. [SOLVED] Using WORKDAY function
    By MT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2006, 02:55 PM

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