+ Reply to Thread
Results 1 to 7 of 7

How to return a range of dates between two cell values (workday only)?

  1. #1
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    272

    How to return a range of dates between two cell values (workday only)?

    Hello - I have the workbook attached where I want the workdays returned if they fall between cell values B3 and F3 but also need to exclude the dates in column J.

    I know I need to use the workday function but get #value! error when I try and use it (see cell h7). Any ideas why?

    Also, cell D7 and F7 are not returning the next date like it's supposed to and I don't get why.
    Attached Files Attached Files
    Last edited by AccountingJ; 10-01-2021 at 02:42 PM.

  2. #2
    Forum Contributor
    Join Date
    04-15-2013
    Location
    Singapore, Melbourne
    MS-Off Ver
    Office 365
    Posts
    167

    Re: How to return a range of dates between two cell values (workday only)?

    try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Row row row your boat
    Gently down the stream

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: How to return a range of dates between two cell values (workday only)?

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    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,907

    Re: How to return a range of dates between two cell values (workday only)?

    Try this one in H7 copied down:

    =WORKDAY.INTL(IF(H6="",$B$3-1,H6),1,1,$J$5:$J$7)

    Are you still using Excel 2010?
    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.

  5. #5
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    272

    Re: How to return a range of dates between two cell values (workday only)?

    First, thank you all for your time/help.

    AliGW - No, let me update that section of my profile.

    Thanks again everyone

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: How to return a range of dates between two cell values (workday only)?

    Glad to help & thanks for the feedback

  7. #7
    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,907

    Re: How to return a range of dates between two cell values (workday only)?

    Your profile still says MS 2010!!!

    Was my suggestion of any use? It's nice to know what has worked/not worked. etc.

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

    Also, 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. Return values to specific columns based on range of cell values
    By sbrt10 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2019, 03:15 AM
  2. Look up if dates in range and return all true values
    By Bensley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2019, 05:22 AM
  3. [SOLVED] Lookup dates in cell range and return latest date and name
    By Glorioso999 in forum Excel General
    Replies: 6
    Last Post: 01-28-2017, 12:43 PM
  4. [SOLVED] return a value in a range if cell has date that fall between two dates
    By preciouslife73 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-12-2013, 09:14 AM
  5. [SOLVED] How can I add a workday to a range of dates? vba
    By Ariadust in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 10:04 AM
  6. Workday and Vlookup to select a range of holiday dates
    By vadius in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2011, 10:28 AM
  7. search a cell for values in a range, return values found
    By carpe.cervisiam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2011, 12:52 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