Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default My Cost Changed? Need Help to find the changes Compare values form

Im trying to compare last years price sheet to this years and note the
changes in the cost. I dont know how to do this.

I have two different methods set up but I cant seem to get them to work.

Method one is that I have two price sheets with identical headers and
columns. My part number on sheet 1 would be the same as the part number in
sheet two. Is there a way to compare the two sheets and place a value or
statement showing Increase in another column on the newest sheet?

Sheet one (old price list)
A B
Part Number Cost

Sheet two (new price list)
A B C D
Part Number Cost Increase Difference

Method two is that Ive combined the data from both spread sheets and sorted
them.
My value in column A is my part number; my value in column B is my cost. I
need to know is if my cost increased and place the change in a new row
indicating the change.

Here is what the sheet would look like
A B C D
2522 33.05 2008
2522 31.22 2009 Decrease
2523 10.00 2008
2523 12.00 2009 Increase
2524 10.00 2008
2524 10.00 2009 Same

Can this be done? I hope this makes sense!

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default My Cost Changed? Need Help to find the changes Compare values form

You are on the right track
Method 1
In sheet2 (new prices) cell C2 enter this
=VLOOKUP(A2,Sheet1!A:B,2,False)
assuming Sheet1 is the name of the sheet with old prices
Copy the formula down till end of your data set
This will give you the Old prices in Col C of Sheet2 with (assuming) New
prices already in Col B
Now =B2-C2 will give you the increase(decrease)

Method2
Enter Old in Col C (all cells) of Sheet1 and New in Col C of Sheet2
Now combine both sheets, sort on Col A then Col C
This will put together the prices for a part no.
Now you can do this in D2
=B2-B3
and copy down

Now filter on New to get your list...
"ernie - willcox" wrote:

Im trying to compare last years price sheet to this years and note the
changes in the cost. I dont know how to do this.

I have two different methods set up but I cant seem to get them to work.

Method one is that I have two price sheets with identical headers and
columns. My part number on sheet 1 would be the same as the part number in
sheet two. Is there a way to compare the two sheets and place a value or
statement showing Increase in another column on the newest sheet?

Sheet one (old price list)
A B
Part Number Cost

Sheet two (new price list)
A B C D
Part Number Cost Increase Difference

Method two is that Ive combined the data from both spread sheets and sorted
them.
My value in column A is my part number; my value in column B is my cost. I
need to know is if my cost increased and place the change in a new row
indicating the change.

Here is what the sheet would look like
A B C D
2522 33.05 2008
2522 31.22 2009 Decrease
2523 10.00 2008
2523 12.00 2009 Increase
2524 10.00 2008
2524 10.00 2009 Same

Can this be done? I hope this makes sense!

Thank you.

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
Calc cost pro rata (nested IF's and macro to find empty row) herbwarri0r Excel Worksheet Functions 2 June 19th 07 12:29 PM
Using different spreadsheets to obtian values in cost equation Eric Excel Worksheet Functions 1 September 9th 06 04:03 PM
to find change and paste existing values/rows in excel with help of form Claudia Excel Discussion (Misc queries) 1 August 10th 06 03:03 PM
I would like to find a templet that does cost reduction tracking Templets Excel Worksheet Functions 0 August 2nd 06 09:17 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


All times are GMT +1. The time now is 02:08 PM.

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

About Us

"It's about Microsoft Excel"