+ Reply to Thread
Results 1 to 5 of 5

Skipping dates have blank values and plot remaining dates.

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

    Skipping dates have blank values and plot remaining dates.

    Hello Friends

    Please find the attached file (Skip the date which has blank value 310316.xlsx).

    I need to skip the date has blank value and remaining need to be plotted.
    Sekar

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

    Re: Skipping dates have blank values and plot remaining dates.

    Try

    D2=IFERROR(INDEX($A$2:$A$32,SMALL(IF($B$2:$B$32<>"",ROW($B$2:$B$32)-ROW($B$2)+1),ROWS($A$1:A1))),"") with CRTL+SHIFT+ENTER and drag down.

    or

    D2=IFERROR(INDEX($A$2:$A$32,AGGREGATE(15,6,ROW($A$2:$A$32)-ROW($A$2)+1/($B$2:$B$32<>""),ROWS($A$1:A1))),"") 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)

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Skipping dates have blank values and plot remaining dates.

    This ARRAY formula will produce the table in yellow...
    =IFERROR(INDEX(A:A,SMALL(IF($B$2:$B$32<>"",ROW($A$2:$A$32)),ROWS($A$1:A1))),"")
    ...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.
    then copied down as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Skipping dates have blank values and plot remaining dates.

    Thanks to Anlur and Thanks to Ford

    Your formulas working fine.

    thanks again

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Skipping dates have blank values and plot remaining dates.

    Happy to help and thank 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. Replies: 0
    Last Post: 01-03-2016, 06:07 PM
  2. [SOLVED] Skipping blank and plotting remaining
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2015, 07:58 AM
  3. [SOLVED] Divide a value by months remaining between two dates
    By parthmaniar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-08-2015, 09:44 AM
  4. Replies: 1
    Last Post: 09-09-2014, 05:24 AM
  5. Calculate how many days remaining between two Dates
    By jordanbuchan359 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-25-2014, 10:42 PM
  6. Replies: 9
    Last Post: 12-18-2012, 10:39 AM
  7. What is the Formula for Days remaining between 2 dates?
    By Fayt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2010, 11:53 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