+ Reply to Thread
Results 1 to 14 of 14

Spotting different dates between data with the same ID No.

  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Spotting different dates between data with the same ID No.

    Hello All

    I've an urgent need and for the life of me can't figure it out, although I'm pretty sure it's very straight forward.

    I have different versions of a file which are issued monthly. Each version has a constant, which is an ID No., but the date may change and it's the change in dates that I need to be able to identify easily and if formatting can be used to highlight it, even better.

    I've attached a simple example and hope that somebody can give me the formula to solve this query.

    So, I have a list of ID's with an original date and then the same list of ID's where two of the original dates have changed. I'd like to be able to write a formula that can do this for me automatically.

    For your info a file listing ID's and dates is issued to a vendor monthly and they return the same file, but may have updated some of the dates. I need to be able to compare the ID's and if the date has changed highlight this.

    I look forward to your help.
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Spotting different dates between data with the same ID No.

    Hi Lightman,

    Is this actually representative of your file? What I mean by that is, are there the same ID numbers in the same order side by side each month and only the dates may differ?

  3. #3
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spotting different dates between data with the same ID No.

    Hi

    This is just a simple example and I'd like to say that the ID No's. would always be in the same order, however I can't guarantee this. If there's a formula that can accomodate the ID's not always being in the same order as well that would be very useful.

    Thanks

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Spotting different dates between data with the same ID No.

    Quote Originally Posted by Lightman View Post
    Hi

    This is just a simple example and I'd like to say that the ID No's. would always be in the same order, however I can't guarantee this. If there's a formula that can accomodate the ID's not always being in the same order as well that would be very useful.

    Thanks
    Have a look at the attached. It uses a formula for conditional formatting that compares the date for each ID number in the new list against the date from the original list using VLOOKUP on the ID number itself. It highlights those where the two values to not match.

    This means it does not matter what order the ID numbers are in.

    You could also use INDEX/MATCH to do that same which if your data sets are quite large may be quicker than a VLOOKUP.
    Attached Files Attached Files
    Last edited by BadlySpelledBuoy; 08-18-2013 at 09:46 AM.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Spotting different dates between data with the same ID No.

    Hello Lightman,

    Try the attached sample WorkBook, using Conditional Formatting for the dates only.

    Also see the "Please consider" note at the bottom of this post.
    Attached Files Attached Files
    Last edited by Winon; 08-18-2013 at 10:09 AM. Reason: Attachment failed
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  6. #6
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spotting different dates between data with the same ID No.

    Hi. I've downloaded the file, but it just seems to be my original file. Have I missed something? I simply clicked on the attched file option at the bottom of your post.

    Thanks

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Spotting different dates between data with the same ID No.

    If you mean my file, then it will look the same, but change some dates in the right hand set of data and see what happens.

    To see how it works, highlight a cell in data set two (the ones on the right), go to the home tab, select conditional formatting then manage conditional formatting.
    There you will see the formula that makes it work.

  8. #8
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spotting different dates between data with the same ID No.

    Hi Wincon

    I've downloaded the file, but it just seems to be my original file. Have I missed something? I simply clicked on the attched file option at the bottom of your post.

    Thanks

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Spotting different dates between data with the same ID No.

    @lightman

    you have to (please) tell us to whom you reponding.

    you got 2 solutions (of differant members).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  10. #10
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spotting different dates between data with the same ID No.

    Excellent. Yes, I've found it now and it works a treat.

    Thanks so much, simple yet effective.

  11. #11
    Registered User
    Join Date
    08-18-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spotting different dates between data with the same ID No.

    Hi Wincon

    Thanks, yes I've found it under conditional formatting.

    That's very helpful of you, it's greatly appreciated.

    Best Regards

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Spotting different dates between data with the same ID No.

    Hello Lightman,

    You are welcome.

    Glad I could help. If you are satisfied with the solution I had given you, then please mark your Thread as Solved.

    You may also Click on the Star to the far left, at the bottom of this Post, to Add Reputation.

  13. #13
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Spotting different dates between data with the same ID No.

    Lightman,

    Please note that also Winon's solution works in your sample data, if in the real workbook the IDs are not in an identical order this approach will not work.

    This is why I used VLOOKUP in my conditional formatting formula.

    BSB.

  14. #14
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Spotting different dates between data with the same ID No.

    Hello Lightman,

    You are most welcome, and I am glad that I could help.

    Thank you also for adding to my Reputation.

+ 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] Request a Macro to Convert data into Dates (Multiple Dates Values separated by Line)
    By seenai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2012, 02:28 AM
  2. Spotting differences between 2 columns
    By teddy379 in forum Excel General
    Replies: 9
    Last Post: 10-28-2012, 09:24 AM
  3. Spotting trends in large datasets
    By tania_del in forum Excel General
    Replies: 6
    Last Post: 12-04-2009, 01:38 PM
  4. how do you chart data by dates and omit dates
    By travelbrains in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-09-2008, 02:37 PM
  5. [SOLVED] Charting data against dates where dates are not at fixed intervals
    By PK in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-16-2005, 01:05 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