Contact

Subscribe

follow us on Twitter
 

Useful Excel Worksheet Comparison

One of our current projects involves comparing multiple datasets from a csv database extract to show which records have been removed or updated. To do this there is an original worksheet that gives the default baseline data on a given date. Then a second worksheet is copied into this file for comparison. This happens on a weekly reporting cycle.

I hunted for a method to find any original records that had been deleted in the weekly report. I found a great little tutorial that did the trick on the Microsoft website:

http://office.microsoft.com/en-us/excel/HA011039151033.aspx

By looking up a matching value for each original primary id record in the weekly report the finished excel worksheet now shows the original records that are now "missing". It's a very helpful solution to a little tricky problem without resorting to a load of database coding.

This is the sort of formula I ended up with

=IF(ISNA(MATCH(A2,'report-26.01.10'!   $B   $2:   $B   $46,FALSE)),"Missing", "-")


 

Published: 18-01-10 at 09:00 by Jon Sloper

Other Related Stories from Alacrify

CSS3 and Website Statistics Charts

The best methods for presenting site stats depend completely on working out what the client needs. This month we&... Read More - published 28-04-11

Feedback for Dorset Art Weeks 2006

We have been commissioned to deal with the feedback forms for Dorset Art Weeks following our success with handling the d... Read More - published 26-05-06

Ordering Employers on Facebook

As I run, or am involved in, several business at the moment I wanted to put them all onto Facebook; however I also wa... Read More - published 30-01-12

Great Response to Maiden Newton Website

Since we launched the new village website for Maiden Newton we have had a great response from villagers and visitors ... Read More - published 06-01-11

Using .htaccess to Redirect Pages with $_GET Variables to Friendly URLs

As part of the recent changes to the OSE Directory website we changed the url structure that was used for the pages. ... Read More - published 04-02-11

View the whole archive

Alacrify Ltd. 01300 320076. jon@alacrify.co.uk

Prev Month

February 2012

Next Month
MoTuWeThFrSaSu
30310102030405
06070809101112
13141516171819
20212223242526
27282901020304

Features

GALLERIES

Links

Courses

Events

Diary