+ Reply to Thread
Results 1 to 6 of 6

Get content (or numbers) from a list according date

  1. #1
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Χαμένος στο διάστημα
    MS-Off Ver
    2016
    Posts
    383

    Get content (or numbers) from a list according date

    Hello all!
    I have a list with dates E10:E100,
    a list with numbers F10:F100 and
    a list with names G10:G100.

    In K10 I insert a date from list.
    How can I have in K 15 and down all numbers from list F10:F100 according the date of cell K10?
    And in L15 the names?
    Thanks in advance.
    Attached Files Attached Files
    Last edited by Immortal2014; 09-11-2017 at 04:46 AM.
    Nick

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Get content (or numbers) from a list according date

    hi Nick. do you mean the list of dates in column E could be repeated? and you want all records of those same dates? a sample excel file will always help. but try this if it works. an array formula:
    =IFERROR(INDEX(F$10:F$100,SMALL(IF($E$10:$E$100=$K$10,ROW($E$10:$E$100)),ROWS(K$15:K15))-ROW($E$10)+1),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    copy over to cell L15 and it works too.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Χαμένος στο διάστημα
    MS-Off Ver
    2016
    Posts
    383

    Re: Get content (or numbers) from a list according date

    Ok, i will upload a samle because this formula returns only the first content of date.
    Thanks!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,084

    Re: Get content (or numbers) from a list according date

    You probably did NOT enter the formula as an array.

    I prefer ths construction:

    =IFERROR(INDEX(F:F,SMALL(IF($E$10:$E$32=$K$10,ROW($E$10:$E$32)),ROWS(K$15:K15))),"")

    in K15, copied across and down.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  5. #5
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Χαμένος στο διάστημα
    MS-Off Ver
    2016
    Posts
    383

    Re: Get content (or numbers) from a list according date

    Yes! It works!! Thank you very much!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,084

    Re: Get content (or numbers) from a list according date

    you're welcome & thanks for the rep.

+ 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. Replies: 1
    Last Post: 03-07-2016, 01:58 PM
  2. list of numbers in excel and I need to find which numbers in the list add up to 16
    By mnmtnman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2016, 12:25 PM
  3. Mean of Highest 20% of list of numbers when list of numbers may vary?
    By nufcac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-11-2015, 07:29 AM
  4. [SOLVED] re-numbering a list of numbers based on another list of numbers to get a sequential order
    By ryan.wherry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-10-2014, 03:27 PM
  5. Replies: 8
    Last Post: 01-10-2014, 10:55 AM
  6. List content from row in columns if different from 0
    By dordar in forum Excel General
    Replies: 4
    Last Post: 09-21-2011, 11:12 AM
  7. Creating a list of content
    By winring in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2010, 04:08 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