+ Reply to Thread
Results 1 to 4 of 4

Formula for a Date finder and auto filler

  1. #1
    Registered User
    Join Date
    07-29-2016
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    79

    Formula for a Date finder and auto filler

    Hi All,

    Is there a formula that finds the date based on a value that contains the month's name? What the file attached is a calendar looking range for a month's work week where MON to FRI are the workdays and SAT SUN being weekends. Weekends are not needed to be in the formula, only the workdays.

    What I am hoping to accomplish is by typing the Month like Jan-19 in Cell A1, it will prefil the cells under Row 2 with their respective dates based on the arrangement of the days shown.

    The purpose is that it is tied to a lookup table that ranges the whole 365 days of year 2019. The hlookup works as long as the dates are filled. It is working if manually inputed per cell, like I have to check the calendar and manually type what dates fall every monday, tuesday, wednesday etc. I was just hoping there is a shortcut way to make the process much faster like a QOL improvement.

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for a Date finder and auto filler

    Maybe try at A3 drag across and down.

    =IF(MONTH(INT(($A$1-2)/7)*7+1+COLUMNS($A3:A3)+ROWS(A$3:A3)*7-7)=MONTH($A$1),INT(($A$1-2)/7)*7+1+COLUMNS($A3:A3)+ROWS(A$3:A3)*7-7,"")
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-29-2016
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    79

    Re: Formula for a Date finder and auto filler

    Hello Bo_Ry! This works! Thank you so much! Wow this is a really long and complicated one. +Rep for you!

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for a Date finder and auto filler

    Thank you,

    Or try the shorter one
    A3
    =INT(($A$1-2)/7)*7+1+COLUMNS($A3:A3)+ROWS(A$3:A3)*7-7

    And use Conditional format font color as white to hide date that not belong to select month
    =MONTH(A3)<>MONTH($A$1)
    Attached Files Attached Files

+ 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] Enter Filler Text in Form - Conditional Formatting
    By azieli02 in forum Excel General
    Replies: 8
    Last Post: 03-11-2016, 04:50 PM
  2. Auto goal finder help needed
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2015, 09:28 AM
  3. Formula That Replaces Values With Filler Values (Simplified and Updated)
    By ashishmehra2010 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2015, 01:51 AM
  4. [SOLVED] Formula That Replaces Values With Filler Values (Simplified and Updated)
    By artiststevens in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-04-2015, 05:54 AM
  5. [SOLVED] Individual Cell Formula Finder in Entire Excel Sheet
    By perpectuals in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-28-2014, 05:47 PM
  6. Auto filler-in triggering on deletion and overwriting
    By shockeroo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-21-2009, 10:09 AM
  7. cell filler application
    By opg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-02-2008, 12:12 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