LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Compare Data from two Worksheets

Hi Guys,

Thanks in advance for any help you may be able to offer.

I have a workbook with three sheets. "Comparison", "Last year" & "This Year".

Each sheet will only have one calendar month of data in it (ie 1st Aug
through to 31st Aug, 1 row per day)

I would post the sheet here to view however I am new here and cant seem to
find a link to attach a sheet.

I would like to import "Last Year" & "This Year" into "Comparison". The
problem I am having is that I would like to import the 1st day of month of
2008 into "Comparison". Say for arguments sake that this day is a Friday for
instance, I would like to import the first friday of "Last Year" and import
it into "Comparison" into the cell above the imported "This Year" row. In
the row below these two rows, I would like a row calculating the difference
between the two days of data.

I would like this repeated so that "Comparison" is comparing each day from
there on in for the whole months' data.

ie, "Comparison" rows should be something like...

Date Day PULP ULP Diesel Total Fuel

03-Aug-07 Friday 1,381 7,746 4,799 13,926
01-Aug-08 Friday 2,834 13,662 13,191 29,687
Difference 1,453 5,916 8,392 15,761
04-Aug-07 Saturday 943 5,883 2,767 9,593
02-Aug-08 Saturday 1,288 8,094 8,588 17,970
Difference 345 2,211 5,821 8,377
05-Aug-07 Sunday 1,497 10,880 11,969 24,346
03-Aug-08 Sunday 780 6,022 5,143 11,945
Difference -717 -4,858 -6,826 -12,401

I want this to automatically import so that I can change the month to
September and send out to the sites and it automatically compares the right
days for whatever month I put in.

Thanks heaps again!

 
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
Compare worksheets with multiple data NeSchw6G Excel Worksheet Functions 1 April 4th 08 06:57 PM
Compare data in 2 worksheets MikeB Excel Discussion (Misc queries) 2 September 11th 07 07:56 PM
Extract & compare data on different worksheets DavidH[_2_] Excel Discussion (Misc queries) 1 May 11th 07 07:08 AM
compare data in 2 worksheets Josh Excel Worksheet Functions 1 September 22nd 06 10:44 PM
compare worksheets data find data that changed Excel Discussion (Misc queries) 3 September 19th 05 09:43 PM


All times are GMT +1. The time now is 10:32 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"