+ Reply to Thread
Results 1 to 7 of 7

Need a formula that reacts to a spin box and only shows monday dates

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Need a formula that reacts to a spin box and only shows monday dates

    Hi I have a spin box that shows the days of the week, I want to be able to limit it to show only the monday dates.

    This is my current formula

    =WORKDAY(A2,1)

    Thanks in advance

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Need a formula that reacts to a spin box and only shows monday dates

    Try:

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

  3. #3
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Need a formula that reacts to a spin box and only shows monday dates

    It needs to display the actual dates.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Need a formula that reacts to a spin box and only shows monday dates

    You want to show prior monday to that date?

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Need a formula that reacts to a spin box and only shows monday dates

    Yes please, sorry I should have been more specific, I need the user to be able to use the spin box and go backwards and forwards in monday only dates

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Need a formula that reacts to a spin box and only shows monday dates

    Something like?

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

  7. #7
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Need a formula that reacts to a spin box and only shows monday dates

    That works brilliantly, is there any way to make the spin box advance just by one click, at the moment it takes 5-6 clicks to get the next date to show?

+ 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] Array of dates when tested shows no dates ......but there are dates
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2012, 12:45 PM
  2. [SOLVED] Populate only Monday through Saturday Dates
    By greggatz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-27-2012, 01:29 PM
  3. Replies: 3
    Last Post: 04-18-2012, 07:48 AM
  4. Excel 2007 : Writing SUMIF formula that reacts to filters
    By lsmith90151 in forum Excel General
    Replies: 1
    Last Post: 07-07-2011, 03:12 PM
  5. Spin Button and Dates
    By Peter00 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-01-2011, 12:55 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