Closed Thread
Results 1 to 3 of 3

Insert WORKDAYS or NETWORKDAYS from Drop-Down list

  1. #1
    Forum Contributor
    Join Date
    06-20-2007
    Location
    Buckeye, AZ
    MS-Off Ver
    365
    Posts
    272

    Insert WORKDAYS or NETWORKDAYS from Drop-Down list

    I'm reposting this because I did a horrible job of it the first time. Let's see if I can be more clear.
    In a workbook, I have 24 cells calculating a range of dates. I need to see the range as both workdays and networkdays.
    Is it possible to insert the function name from a drop-down list? This would allow me to toggle between the two.
    In the attached workbook A2 holds the formula.
    Any help is greatly appreciated!
    Sick
    (and, sorry about the last attempt!!)
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Insert WORKDAYS or NETWORKDAYS from Drop-Down list

    networkdays = networkdays(startdate, enddate, holidays)
    Workday = workday(startdate , days , holidays)

    so where do we get the start / end date and the number of days ?

    you can just use an IF
    =IF(E1="networkdays",NETWORKDAYS(B1,C1), WORKDAY(B1,C1))

    A2 has no formula

    expected results and the formula entered somewhere manually to show what you want to use and calculate

    in A1 is =E1(F12B1,C1)
    whats that
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  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,869

    Re: Insert WORKDAYS or NETWORKDAYS from Drop-Down list

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #2 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...tworkdays.html

    Thread closed.
    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.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Toggle from WORKDAYS To NETWORKDAYS
    By sick stigma in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-28-2024, 12:32 PM
  2. [SOLVED] Insert Comment from drop-down list
    By plans in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-12-2016, 04:01 PM
  3. Differance Networkdays vs Workdays
    By Trumpy in forum Excel General
    Replies: 2
    Last Post: 09-18-2015, 06:50 AM
  4. how to insert a drop down country list?
    By ziva770 in forum Excel General
    Replies: 23
    Last Post: 11-25-2010, 02:52 AM
  5. Insert a drop down list?
    By gavster in forum Excel General
    Replies: 2
    Last Post: 04-18-2008, 07:14 AM
  6. [SOLVED] how to use workdays or networkdays in VBA
    By ABG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2006, 03:45 AM
  7. How do I insert a drop down list in a cell using
    By Phil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2005, 04:06 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