+ Reply to Thread
Results 1 to 4 of 4

Calulating end date by using two different formulas in the same cell

  1. #1
    Registered User
    Join Date
    09-19-2009
    Location
    Washington State
    MS-Off Ver
    Excel 2007
    Posts
    3

    Calulating end date by using two different formulas in the same cell

    Hope this isn't a repeat I have looked and not found anything similiar.

    I want a formula that will take a start date from one cell, the number of days in a seperate cell, and give me an end date based on a variable.

    If the number of days is 5 days or less I want to use the =WORKDAY function (current code I use for that is =WORKDAY(B8,C8) ) If the number of days is 6 or greater, I just want to use calendar days (so a typical B8,C8). I have tried several combinations without luck.

    Thank you in advance !

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calulating end date by using two different formulas in the same cell

    Welcome to teh forum.

    Maybe =IF(C8<=5, WORKDAY(B8, C8), B8+C8)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-19-2009
    Location
    Washington State
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Calulating end date by using two different formulas in the same cell

    That worked perfectly! I was putting too many parentheses in! I was close, and frustrated. Thank you.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calulating end date by using two different formulas in the same cell

    You're welcome. Would you please mark the thread as Solved?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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