+ Reply to Thread
Results 1 to 4 of 4

Finding which specific day comes first in any given month.

  1. #1
    Registered User
    Join Date
    01-02-2022
    Location
    Colorado
    MS-Off Ver
    Microsoft Office 365
    Posts
    22

    Finding which specific day comes first in any given month.

    Hi All,

    I need a column that lists all Tuesday, Wednesday, and Fridays in any given month, sorted by the date. For example, for January 2022, Tuesday 4th is the first day of those three, so the column would start with that date. But for April 2022, Friday 1st happens to be the first of the three days. And for June 2022, Wednesday 1st is the first of the three days. I suppose technically I only need the first three instances in each month, then build the remainder of the column by simply adding 7 days each time (till the end of the month.)

    My question is whether there's a way to do this with formulas or do I have to resort to using VBA? I've attached a workbook that contains the result of what I'd like to end with.

    I appreciate any guidance or pointers to possible solutions.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Finding which specific day comes first in any given month.

    See attached spreadsheet in which I created a lookup using a parameter query.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: Finding which specific day comes first in any given month.

    A2=FILTER(TEXT(ROW(INDIRECT(A$1&":"&EOMONTH(A$1,0))),"DDD,MMMM DD,YYYY"),ISNUMBER(MATCH(TEXT(ROW(INDIRECT(A$1&":"&EOMONTH(A$1,0))),"DDD"),$E$2:$E$4,0)))


    Copy across
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-02-2022
    Location
    Colorado
    MS-Off Ver
    Microsoft Office 365
    Posts
    22

    [SOLVED] Re: Finding which specific day comes first in any given month.

    Ah, thank you both for your responses. I choose to go with CARACALLA's solution as that doesn't require a macro. I'm trying to avoid having to use VBA for this project. Thank you!

+ 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] Finding specific picture in a specific folder and insert it somewhere specific
    By Programmer24 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 02-13-2022, 02:22 PM
  2. finding a specific date based on the day of the week and the day of the month
    By mrxsimonix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-01-2022, 05:38 AM
  3. Finding the top 10 products of a specific month
    By benjam2k4 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2020, 03:37 PM
  4. [SOLVED] Finding specific amount at specific date for specific person
    By Roshan.Shakya in forum Excel General
    Replies: 3
    Last Post: 05-13-2019, 11:48 AM
  5. [SOLVED] open worksheet based on month to specific sheet named after month and hide rest
    By ianmcw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2014, 10:19 PM
  6. [SOLVED] Formula for finding the difference between the 1st of month and 1st of another month
    By btoohey44 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 07:49 PM
  7. Finding percentage for cells that contains specific month and status
    By swtescapefa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2014, 09:59 AM

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