+ Reply to Thread
Results 1 to 19 of 19

Index and sort by date, sort no longer works in 2019

  1. #1
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Index and sort by date, sort no longer works in 2019

    Hi Bunch of Fantastic People!

    In the attached workbook im trying to get Data from sheet one, into two.

    I require Sheet 2 to be become a sorted date column/array based on the date range in Sheet1.
    The cells that have to appear are dates AND need to have "Lopend" in column B.
    (Please skip blanks, and value "0")


    Cant get =Sort to work anymore in 2019, hopefully your skills are honed enough to help me out on this one.
    Attached Files Attached Files

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

    Re: Index and sort by date, sort no longer works in 2019

    Blad2

    A2=IFERROR(INDEX(Blad1!$J$2:$J$41,SMALL(IF(FREQUENCY(IF(Blad1!$J$2:$J$41>0,IF(Blad1!$B$2:$B$41=Blad1!$B$2,Blad1!$J$2:$J$41)),Blad1!$J$2:$J$41),ROW(Blad1!$J$2:$J$41)-ROW(Blad1!$J$2)+1),ROWS(Blad2!$A$2:Blad2!$A2))),"")

    control+shift +enter

    Copy down

  3. #3
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Hi Caracalla!

    Thank you for your reply, mille grazie!

    It is close to perfect, the dates are showing up perfectly!
    However, in my file i would like to have;
    "Please return the value of Column F(unique identifier for other lookups), relating to the date value."

    Is this something you can help me with?
    Please also note that in ColumnA i have a text that could change and therefor i require it to be checked in the formula.
    (dates are only needed to when in Column A is text "Lopend". (Means current.)

    Again, your solution to the date sorting is MoltoMoltoBene!
    Last edited by Mr_Excell_Ensie; 09-30-2020 at 10:21 AM.

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

    Re: Index and sort by date, sort no longer works in 2019

    You can explain to me with a file what result you want.Put the result

    Excuse my English

  5. #5
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Added the file.

    In column A there are 2 words now:
    "Lopend" and "Gereed"

    Please sort only dates with "Column A" "Lopend" and please return the Column F (unique) too.
    Attached Files Attached Files

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

    Re: Index and sort by date, sort no longer works in 2019

    Blad2

    A2=IFERROR(INDEX(Blad1!$J$2:$J$41,SMALL(IF(FREQUENCY(IF(Blad1!$J$2:$J$41>0,IF(Blad1!$B$2:$B$41=Blad2!$C$1,Blad1!$J$2:$J$41)),Blad1!$J$2:$J$41),ROW(Blad1!$J$2:$J$41)-ROW(Blad1!$J$2)+1),ROWS(Blad2!$A$2:Blad2!$A2))),"")

    control+shift +enter

    Copy down

    For GEREED type GEREED in C1
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Very close!

    But I need the 16174.1.01 (Sheet1, Column A) to be next to the date 29-09-2020. (In sheet 2).
    (Ma ho bisogno che 16174.1.01 (Foglio1, Colonna A) sia accanto alla data 29-09-2020. (Nel foglio 2).)

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

    Re: Index and sort by date, sort no longer works in 2019

    I still don't understand what you want to achieve.
    Attach the file with the results.
    Your file was incorrect
    associated with the code in c1 corresponds to a single date

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

    Re: Index and sort by date, sort no longer works in 2019

    In column C all unieks associated with dates in chronological order for Lopend

    For GEREED write GEERED in A1 Blad2
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    deletion of this message
    Last edited by Mr_Excell_Ensie; 09-30-2020 at 01:20 PM.

  11. #11
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Our posts have crossed, please hold while i check yours.

    It looks like what i need, just give me a minute to check!

  12. #12
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Yes, this is what im searching for!

    Can you tell me why 16174.1.10 is not found in Sheet2?
    I guess because the date has to be unique?
    (I see 1 date 29-09-20, but i have two uniques on that date: 16174.1.10 AND 16174.1.01)

    Can you make it so that it CAN have duplicate dates shown?

    29-09-20 16174.1.01
    29-09-20 16174.1.10

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

    Re: Index and sort by date, sort no longer works in 2019

    In this file all the codes associated with Lopend

    with unique and chronological date.

    for ready write ready in A1
    Last edited by CARACALLA; 09-30-2020 at 02:38 PM.

  14. #14
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Im so pleased with your help.

    Please have a look if you can sort the dates in one column, please (! )

    Then were done, ti amo caro mio..

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

    Re: Index and sort by date, sort no longer works in 2019

    Sorry it's not possible if you want to keep a unique value
    therefore only one result for the date.

  16. #16
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    Date doesnt need to be unique.

    the unique is for later use, so i can xlookup data.

    I want a long list of dates, even double ones, with the unique number next to it.

    That gives my team a list of jobs that are schedulded for that date.

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

    Re: Index and sort by date, sort no longer works in 2019

    New file is ok ?
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    02-14-2020
    Location
    AMsterdam, Netherlands
    MS-Off Ver
    365
    Posts
    78

    Re: Index and sort by date, sort no longer works in 2019

    You young man, are a life-saver!

    Thanks a million for persisting, I really, really, no; really really really appreciate very much, how you have wrestled yourself through this one!

    This solved it for me! Bacio!

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

    Re: Index and sort by date, sort no longer works in 2019

    Just because the best players on my team (Milan) are Dutch
    Gullit, Van Basten, Rijkaard

    Best player after Maradona

    Cruyff

    Ciao
    Last edited by CARACALLA; 09-30-2020 at 03:57 PM.

+ 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. Macro filter date works in Excel 2010 and not in 2019
    By Berna11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2020, 07:11 PM
  2. [SOLVED] Index and sort by date
    By Mr_Excell_Ensie in forum Excel General
    Replies: 7
    Last Post: 09-23-2020, 11:34 AM
  3. =SORT Not Enable In Office 2019
    By ArshadHushim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2020, 10:21 PM
  4. [SOLVED] Sort Works for Longer List, but not Current List
    By lovecolorado in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2019, 09:45 AM
  5. how to sort Week no- Year (04-2018, 05-2019, 07-2018) in pivot chart.
    By sahana108 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2018, 09:07 AM
  6. [SOLVED] How to sort the data by item code first, then sort them by date?
    By Zecond in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-04-2013, 01:55 AM
  7. A Custom Sort List Longer Than 255 Characters?
    By minimagician in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2009, 07:09 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