Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
David Humphries
 
Posts: n/a
Default Dynamically compare two slightly different copies of a table

Wonder if anyone can help with this.

I have a spreadsheet which contains information about the predicted
availability of various people, which changes from week to week.

I'm looking to provide a weekly analysis of the changes that happen, to
check from week-to-week that nothing "crazy" has happened.

The information is in this format:

Name 08/01 08/08 08/15 (etc)-
-----------------------------
Dan 0 1 1
Dave 1 1 0
Rob 0 0 0

At the moment, I've got a copy of the above table from last week on one
tab of a spreadsheet; and an up-to-date copy of the table on another
tab.

On a third tab, I've produced a simple compare like this:

Name 08/01 08/08 08/15 (etc)-
-----------------------------------------------------
Dan S1!A2-S2!A2 S1!A3-S2!A3 S1!A4-S2!A4
Dave S1!B2-S2!B2 S1!B3-S2!B3 S1!B4-S2!B4
Rob S1!C2-S2!C2 S1!C3-S2!C3 S1!C4-S2!C4

This is fine as far as it goes, but when new people start, they push
all the rows down like this:

Name 08/01 08/08 08/15 (etc)-
-----------------------------
Dan 0 1 1
Dave 1 1 0
* Donna 0 0 1 *
Rob 0 0 0

This then screws up my compare tab, because the newer copy of the table
then has its rows in different places.

I'm trying to produce a dynamic solution. I was planning to copy the
list of names from the latest sheet and then VLOOKUP the values from
the latest and previous sheet, with some IF(ISNA()) statements to avoid
errors when new people start. However, there are 300 rows and 65
columns in the table - too many for that to be a reliable solution I
suspect.

There must be an easier way to do this!

All help much appreciated,
Dave

  #2   Report Post  
Morrigan
 
Posts: n/a
Default


Try using INDIRECT() when you compare the 2 sheets. As long as the new
inserted row is inserted at the same place on both sheet1 and sheet2,
your comparison would be accurate.


Hope it helps.



David Humphries Wrote:
Wonder if anyone can help with this.

I have a spreadsheet which contains information about the predicted
availability of various people, which changes from week to week.

I'm looking to provide a weekly analysis of the changes that happen,
to
check from week-to-week that nothing "crazy" has happened.

The information is in this format:

Name 08/01 08/08 08/15 (etc)-
-----------------------------
Dan 0 1 1
Dave 1 1 0
Rob 0 0 0

At the moment, I've got a copy of the above table from last week on
one
tab of a spreadsheet; and an up-to-date copy of the table on another
tab.

On a third tab, I've produced a simple compare like this:

Name 08/01 08/08 08/15 (etc)-
-----------------------------------------------------
Dan S1!A2-S2!A2 S1!A3-S2!A3 S1!A4-S2!A4
Dave S1!B2-S2!B2 S1!B3-S2!B3 S1!B4-S2!B4
Rob S1!C2-S2!C2 S1!C3-S2!C3 S1!C4-S2!C4

This is fine as far as it goes, but when new people start, they push
all the rows down like this:

Name 08/01 08/08 08/15 (etc)-
-----------------------------
Dan 0 1 1
Dave 1 1 0
* Donna 0 0 1 *
Rob 0 0 0

This then screws up my compare tab, because the newer copy of the
table
then has its rows in different places.

I'm trying to produce a dynamic solution. I was planning to copy the
list of names from the latest sheet and then VLOOKUP the values from
the latest and previous sheet, with some IF(ISNA()) statements to
avoid
errors when new people start. However, there are 300 rows and 65
columns in the table - too many for that to be a reliable solution I
suspect.

There must be an easier way to do this!

All help much appreciated,
Dave



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=390380

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I compare Excel files AUSSIE GRAHAM Excel Discussion (Misc queries) 1 July 6th 05 06:14 AM
How do I compare FORMULAS in two workbooks Doug Gault Excel Discussion (Misc queries) 2 May 6th 05 04:36 PM
How can I compare the contents of two Excel files? Igor Green Excel Discussion (Misc queries) 0 May 4th 05 12:58 PM
How do I stop Excel from making copies of files? wlewismba Excel Discussion (Misc queries) 1 April 30th 05 04:28 PM
Is there a way to compare 2 spreadsheets with Excel? Dave Peterson Excel Discussion (Misc queries) 3 March 29th 05 12:36 AM


All times are GMT +1. The time now is 10:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"