+ Reply to Thread
Results 1 to 5 of 5

Formula to bring month and date from qtr selected

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Formula to bring month and date from qtr selected

    Hello:

    Please refer to attached file.

    Based on Qtr selection in cell A15, i need formula in
    cell A16:C17 to give me month and date from data
    in cell range B1:D12

    Let me know if you have any questions.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,097

    Re: Formula to bring month and date from qtr selected

    How about
    In A16 dragged right
    =INDEX($C$1:$C$12,AGGREGATE(15,6,(ROW($B$1:$B$12)-ROW($B$1)+1)/($B$1:$B$12=$A$15),COLUMNS($A16:A16)))
    in A17 dragged right
    =INDEX($D$1:$D$12,AGGREGATE(15,6,(ROW($B$1:$B$12)-ROW($B$1)+1)/($B$1:$B$12=$A$15),COLUMNS($A17:A17)))

  3. #3
    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,907

    Re: Formula to bring month and date from qtr selected

    An alternative solution is to create a parameter query in Power Query. The file attached does that for you on Sheet 2.

    You will need to create the parameter using the technique displayed in this video.

    https://www.youtube.com/watch?v=gK2yBpiITvI

    The file which uses this technique is attached.

    Mcode for the parameter is

    Please Login or Register  to view this content.
    The Mcode to make it all happen in your table

    Please Login or Register  to view this content.
    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

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to bring month and date from qtr selected

    Hello Fluff and Alan:

    Superb ...

    Thanks

    Riz

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,097

    Re: Formula to bring month and date from qtr selected

    You're welcome & thanks for the feedback.

+ 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] Formula to look up month and bring data in Final Sheet
    By rizmomin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-06-2018, 08:46 PM
  2. [SOLVED] Formula to bring previous month value
    By rizmomin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2017, 09:23 PM
  3. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  4. [SOLVED] Display the first date of the month when the month and year are selected
    By john dalton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2013, 11:59 AM
  5. Replies: 2
    Last Post: 06-29-2012, 10:29 AM
  6. First date in Week of month selected (not first date of month)
    By thart21 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-24-2011, 08:59 AM
  7. [SOLVED] Excel month dropdown list to generate day of week and date for selected month
    By aaaaaaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2010, 02:45 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