+ Reply to Thread
Results 1 to 8 of 8

Extract datas and date after given date by eliminating duplicates

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Extract datas and date after given date by eliminating duplicates

    Hello Friends

    Please find the attached file (Extract datas and date after given date by eliminating duplicates.xlsx).

    I need to lookup in the Column AG Cells for the input Date AJ5.

    If the dates are after input date then lookup and plot the values in Column I except TBC.

    Dates and datas may be duplicated but for the same datas two different dates will not come. If Dates and datas duplicated then plot as once.

    thanks in advance.
    Last edited by Sekars; 07-07-2016 at 01:43 AM.
    Sekar

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Extract datas and date after given date by eliminating duplicates

    I need to lookup in the Column AG Cells for the input Date AH5.
    in the attached sheet, your Input date is in AJ5.

    If the dates are after input date then lookup and plot the values in Column I except TBC
    in your expected results, the dates for first 5 entries occur before the Input date.
    Please take a moment to review your query against the sample.

    Dates and datas may be duplicated but for the same datas two different dates will not come. If Dates and datas duplicated then plot as once.
    Please show this with a suitable example in your sample data.

  3. #3
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Extract datas and date after given date by eliminating duplicates

    Hello jewelsharma

    Thanks for the notification.

    Sorry for the errors i did, Now i corrected the input cell location and removed the dates and dates before the input date. Please refer the updated file.

    thanks again.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Extract datas and date after given date by eliminating duplicates

    Try

    AL5=IFERROR(INDEX(I$4:I$24,SMALL(IF(($AG$4:$AG$24>=$AJ$5)*($AG$4:$AG$24<>"--")*(FREQUENCY(IF($AG$4:$AG$24>=$AJ$5,MATCH(I$4:$I$24,$I$4:$I$24,0)),ROW($AG$4:$AG$23)-ROW($AG$4)+1)),ROW($AG$4:$AG$24)-ROW($AG$4)+1),ROWS($A$1:A1))),"") with Control+Shift+Enter

    Am5=IFERROR(INDEX(AG4:AG24,MATCH(AL5,I4:I24,0)),"") and drag down..
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Extract datas and date after given date by eliminating duplicates

    Hello Ankur Sgukla

    Thanks for your formula, it is working fine for the fixed datas but my dates will be keep on adding and everytime i need to change the Last Row from 24 to XXXXX. Is there any way to make the formula working from 24 rows to 1000 Rows.

    thanks again for your formula.

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Extract datas and date after given date by eliminating duplicates

    tRY

    =IFERROR(INDEX(I$4:I$1000,SMALL(IF(($AG$4:$AG$1000>=$AJ$5)*($AG$4:$AG$1000<>"--")*(FREQUENCY(IF($AG$4:$AG$1000>=$AJ$5,MATCH(I$4:$I$1000,$I$4:$I$1000,0)),ROW($AG$4:$AG$999)-ROW($AG$4)+1)),ROW($AG$4:$AG$1000)-ROW($AG$4)+1),ROWS($A$1:A1))),"")

  7. #7
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Extract datas and date after given date by eliminating duplicates

    Hello Ankur

    Thank you.

    Yes, exactly what i want.

    Thanks again.

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Extract datas and date after given date by eliminating duplicates

    Glad to help you buddy

+ 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] Plotting the datas from given date in 4 sheets by eliminating duplicates
    By Sekars in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2016, 07:50 AM
  2. Replies: 3
    Last Post: 02-10-2016, 07:26 PM
  3. how to extract latest date to a paticular date from diffrent date list
    By rudraalok in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2014, 05:18 AM
  4. [SOLVED] Extract date from cell and replace value with date then delete empty rows
    By jjislas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2013, 11:52 AM
  5. Eliminating duplicates within certain date ranges
    By SymphonyTomorrow in forum Excel General
    Replies: 1
    Last Post: 11-19-2011, 06:31 AM
  6. Eliminating date values
    By VinceValdez12 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2007, 05:18 PM
  7. [SOLVED] Eliminating Negative Values from Date Subtractions
    By Mhz in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:51 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