+ Reply to Thread
Results 1 to 2 of 2

Two inconsistent date ranges

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    4

    Two inconsistent date ranges

    Hi. I have two tables, each with two columns.

    In both cases the first column is a date and the second one is a number, however, the two date lists are inconsistent - some dates are missing from each, so sometimes table a has a date and b doesn't, and sometimes vice-versa.

    e.g.

    1 jan / 0.1 / 1 jan / 0.9
    2 jan / 0.5 / 4 jan / 0.4
    3 jan / 0.2 / 5 jan / 0.7
    4 jan / 0.2 / 6 jan / 0.2

    I want to be able to align the two tables so that where there is no date in one I insert a row to bring it into alignment with the correct date (in the example above inserting two spaces above 4 jan in the third and fourth columns). Ultimately I am going to delete all the rows where there is only one date as well.

    Does anyone know a quick way to do this? At the moment I am checking it by eye and deleting them one by one, but I have >1000 rows ...

  2. #2
    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,154

    Re: Two inconsistent date ranges

    Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    However, nothing on this Forum works quite as well as you might expect. The attachment icon doesn't work!! (Helpful, isn't it!!). Instead, just before you submit your post, click on GO ADVANCED (near the bottom) and then scroll down to Manage Attachments to open the upload window. The relevant instructions are at the top of that screen.
    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

+ 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. Inconsistent CSV date and cash formats generating errors
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2016, 07:37 PM
  2. [SOLVED] Inconsistent scoping of Named Ranges - Debugging Issue
    By Romulo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2013, 02:47 AM
  3. Trouble with inconsistent date formats in Excel
    By chifoobear in forum Excel General
    Replies: 6
    Last Post: 07-21-2013, 11:50 AM
  4. [SOLVED] Counting the number of times a date occurs in multiple start and end date ranges.
    By Grizz in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-05-2013, 04:41 PM
  5. Replies: 1
    Last Post: 08-11-2012, 05:43 PM
  6. Replies: 5
    Last Post: 02-10-2012, 12:52 PM
  7. Excel 2007 : Date ranges withing date ranges
    By Sazza in forum Excel General
    Replies: 4
    Last Post: 07-14-2011, 06:56 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