+ Reply to Thread
Results 1 to 13 of 13

Dynamic Formula for WORKDAY

  1. #1
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Dynamic Formula for WORKDAY

    Hi all,

    I've been learning a lot about Dynamic Formulas and they are fantastic.

    My question is, I have a formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I would like for this formula to by dynamic so that it fills in as columns B and C are filled in.

    I know I can do
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy that down, but then the spreadsheet slows down because that formula is copied down 50,000 times which it has to calculate each time something changes.

    I tried the "CONTROL SHIFT ENTER" thing to just put the original formula into the dynamic brackets, but that doesn't appear to work (it does not filter down when data is present in B and C).

    Any other options here?

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

    Re: Dynamic Formula for WORKDAY

    Limit the range C3:C$1048576 to a realistic number of rows and copy down accordingly - you are unlikely to need over a million!!!

    If you would like alternative suggestions, please provide a sample workbook.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Dynamic Formula for WORKDAY

    haha... okay, that's fair.

    Question though... I did try to use the LET function... so I have:

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


    Yet, when I hit enter, it does not filter down... and I know that's a dynamic function.

    Sample workbook showing the LET function is attached.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,536

    Re: Dynamic Formula for WORKDAY

    A dynamic function will 'filter down', as you call it, or 'spill' when there is a range or table of data as the anser. In your case, the formula is returning just one answer.

    I'll have a look.

  5. #5
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Dynamic Formula for WORKDAY

    Great, thank you!!!

    FYI, the purpose of that formula is to give a start date, based upon the user's priorities. So, in this case, it's taking Gru's priorities and backing up the start dates the more priorities he has. It then updates if you change any of the names below.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,536

    Re: Dynamic Formula for WORKDAY

    Explain why you have not anchored the B3 in the range, please.

  7. #7
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Dynamic Formula for WORKDAY

    My thought is, the formula looks at B3, and then goes down the rest of B to find any other Gru's. As it does, it adds the hours up of any successive Gru's and subtracts those hours from the due date to give a start date (provided the priorities are always in order, which they should always be.)

    So, as you'd move that down column D, it would pick up B4, B5, etc. down the line.

    I'm open for any suggestions that work better than that! As long as the formula gives a start date based upon the priorities of each user, that's the end goal. I *think* that formula does that (at least in my testing), I just can't seem to get it to be dynamic so it spills with the rest of the data.

  8. #8
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Dynamic Formula for WORKDAY

    If this matters or helps, Columns A, B, and C are dynamic in the real spreadsheet using the Filter function. I'm just trying to get the start date to keep up with those filters as the data is added / changes.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,536

    Re: Dynamic Formula for WORKDAY

    I really don't understand your logic with that formula - sorry. This means I can't help find a spill formula.

    I'll leave this to someone who does. It would be easier if the sample file had dynamic data where there is dynamic data. Hope it gets solved!

  10. #10
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Dynamic Formula for WORKDAY

    some expected results would help but, based on your relative referencing, perhaps something along the lines of:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    modify A3:C10 as needed (consider using dynamic range, or using FILTER etc)

  11. #11
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Dynamic Formula for WORKDAY

    Looks like that works... I'll figure out how to modify data, but thanks for the assist. I love this community!

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Dynamic Formula for WORKDAY

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  13. #13
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Dynamic Formula for WORKDAY

    Thanks for the rep.

+ 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. [SOLVED] IF and WORKDAY formula help
    By SeventySix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2020, 08:23 AM
  2. [SOLVED] IF WORKDAY Formula - where to add WORKDAY?
    By McCaughley7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2019, 12:56 PM
  3. WORKDAY() Function with dynamic multiple holiday ranges
    By OzNjB in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-13-2019, 05:39 PM
  4. WORKDAY Formula
    By Simoin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-05-2014, 08:32 AM
  5. Workday.INTL or Workday function issue
    By junoon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 03:14 PM
  6. Workday formula
    By 3daluminium in forum Excel General
    Replies: 5
    Last Post: 04-22-2010, 02:26 PM
  7. How can I specify workday capacities in a dynamic calendar???
    By beb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2005, 03:05 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