+ Reply to Thread
Results 1 to 4 of 4

Return with all dates based on Year Criteria

  1. #1
    Registered User
    Join Date
    05-04-2020
    Location
    Egypt
    MS-Off Ver
    Office 2016/2019
    Posts
    20

    Return with all dates based on Year Criteria

    Hello,
    I would like to make a formula like Index-Match or any other idea to return with all results from the Dates Column based on the selected Year Criteria as described on the attached Excel Sheet.

    Any help will be highly appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Return with all dates based on Year Criteria

    Hi

    in C8 formatted as date to be copied to the right


    =IFERROR(AGGREGATE(15,6,$D4:$L4/(YEAR($D4:$L4)=$B8),COLUMNS($A:A)),"")

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    05-04-2020
    Location
    Egypt
    MS-Off Ver
    Office 2016/2019
    Posts
    20

    Re: Return with all dates based on Year Criteria

    Dear canapone,

    Many many thanks for your reply, and your equation works like magic.

    Thank you very much

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

    Re: Return with all dates based on Year Criteria

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    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

+ 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] How to return dates that fall within a year
    By leruma in forum Excel General
    Replies: 4
    Last Post: 04-25-2017, 07:18 PM
  2. Return averages based on day, week, month and year, from dates in column.
    By koalamotorsport in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2016, 11:11 PM
  3. [SOLVED] Vlookup formula to return max/min dates based on 1 criteria?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-07-2015, 01:33 PM
  4. Replies: 3
    Last Post: 10-06-2015, 05:30 PM
  5. [SOLVED] Max value between two dates, return the year that the max temp occurred.
    By smit.etha in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-17-2015, 04:49 PM
  6. Based on col dates create col of dates for the first day of that same month and year
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2011, 09:32 PM
  7. countif. dates in a year (year is the criteria)
    By barrfly in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-18-2010, 03:33 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