+ Reply to Thread
Results 1 to 4 of 4

Workday formula - value 1 to return value 0's date

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    N/A
    MS-Off Ver
    MS 365
    Posts
    70

    Workday formula - value 1 to return value 0's date

    CF Checklist Excel Forum.xlsm

    Hi there

    Attached is a spread sheet in which I have used a WORKDAY formula to return the relevant dates

    However, I would ideally like Working Day 1 to return the date generated by entering 0, e.g.

    cell F10 has the formula
    cell E10 represents the 'working day' from which the date is generated in cell F10

    Ideally I would like the value (date) returned from entering '0' in column E, to be the same from entering '1'

    You can see in row 11 that entering the value 1, pushing the date out to 04/11/2013, whereas I would like the value 1, to return the date 01/11/2013

    I've tried a couple of things which haven't worked

    Any help would be much appreciated

    Thanks, Maddy
    Last edited by overbomb; 10-31-2013 at 10:06 AM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Workday formula - what 1 to returns 0 date

    Why don't you simply input 0 in Column E?

    Else change your formula to

    =WORKDAY(F$6,$E10-1)

    Also not sure why your are referring column B for holiday list
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    N/A
    MS-Off Ver
    MS 365
    Posts
    70

    Re: Workday formula - what 1 to returns 0 date

    Hi

    Thank you for your help, have amended the formula to the what you suggested above

    It's a cultural thing to refer to it as Working Day 1, as opposed to 0

    This works well, unless the working date value is a minus, e.g. value -1 generates the correct date, however with amended formula it deducts another day

    I'll try out a IF formula for greater/less than - maybe that'll work

    Maddy

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Workday formula - value 1 to return value 0's date

    Try

    =WORKDAY(F$6,IF($E10=1,0,$E10))

+ 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. Replies: 7
    Last Post: 07-14-2017, 12:04 PM
  2. Date formula that functions like WORKDAY but includes weekends
    By 1gambit in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-07-2017, 04:31 PM
  3. Replies: 4
    Last Post: 03-16-2012, 06:55 AM
  4. Date formula question "workday"
    By vasto in forum Excel General
    Replies: 2
    Last Post: 12-19-2008, 04:36 PM
  5. WORKDAY returns too late a date
    By M Skabialka in forum Excel General
    Replies: 4
    Last Post: 07-16-2005, 02:05 PM

Tags for this Thread

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