Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SD SD is offline
external usenet poster
 
Posts: 24
Default comparing two sheet of data -- cost price increases

I have 3 Sheets of data.
the first on has two columns NEW COST PRICES
SHEET1 A2 TO B9251
A B
PART NUMBER COST



SHEET2 A2:C18051 CURRENT COST AND SELL PRICES
A B C
PART NUMBER COST SELLING PRICE


SHEET3 A2:B20500
A
PART NUMBER

I NEED TO CREATE A FORMULA TO COMPARE THE NEW COST PRICES SHEET1 WITH THE
CURRENT COST PRICES SHEET2 AND SHOW THE PERCENTAGE DIFF.
I NEED TO MATCH THE EXACT PART NUMBER FROM COLUMN A

ON SHEET 3 I NEED TO COMPARE THE PART NUMBER IN COLUMN A AND MATCH IT
EXACTLY TO THE PARTS IN SHEET2 AND SHOW THE COST PRICES (COLUMN B) OR 0 VALUE
IF NO MATCH
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default comparing two sheet of data -- cost price increases

SD: You need to use vlookup for the formula I think oon sheet3

[B2]=
if(isna(vlookup(a2,sheet2!$a$2:$c$18051,2,false)), 0,vlookup(a2,sheet2!$a$2:$c$18051,2,false))
[c2]=
if(isna(vlookup(a2,sheet1!$a$2:$b$9251,2,false)),0 ,vlookup(a2,sheet1!$a$2:$b$9251,2,false))
[d2]=if(b2*c2=0,"",(b2/c2-1)%


then copy the formulas down. note you are unclear were the %inc should sit.
--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Bangkok, Thailand
Please do not forget to rate this reply.


"SD" wrote:

I have 3 Sheets of data.
the first on has two columns NEW COST PRICES
SHEET1 A2 TO B9251
A B
PART NUMBER COST



SHEET2 A2:C18051 CURRENT COST AND SELL PRICES
A B C
PART NUMBER COST SELLING PRICE


SHEET3 A2:B20500
A
PART NUMBER

I NEED TO CREATE A FORMULA TO COMPARE THE NEW COST PRICES SHEET1 WITH THE
CURRENT COST PRICES SHEET2 AND SHOW THE PERCENTAGE DIFF.
I NEED TO MATCH THE EXACT PART NUMBER FROM COLUMN A

ON SHEET 3 I NEED TO COMPARE THE PART NUMBER IN COLUMN A AND MATCH IT
EXACTLY TO THE PARTS IN SHEET2 AND SHOW THE COST PRICES (COLUMN B) OR 0 VALUE
IF NO MATCH

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default comparing two sheet of data -- cost price increases

Sorry, realised there was an error in the formula, there should be a closing
bracket on the end:
[d2]=if(b2*c2=0,"",(b2/c2-1)%

[d2]=if(b2*c2=0,"",(b2/c2-1)%)



--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Bangkok, Thailand
Please do not forget to rate this reply.


"Martin Fishlock" wrote:

SD: You need to use vlookup for the formula I think oon sheet3

[B2]=
if(isna(vlookup(a2,sheet2!$a$2:$c$18051,2,false)), 0,vlookup(a2,sheet2!$a$2:$c$18051,2,false))
[c2]=
if(isna(vlookup(a2,sheet1!$a$2:$b$9251,2,false)),0 ,vlookup(a2,sheet1!$a$2:$b$9251,2,false))
[d2]=if(b2*c2=0,"",(b2/c2-1)%


then copy the formulas down. note you are unclear were the %inc should sit.
--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Bangkok, Thailand
Please do not forget to rate this reply.


"SD" wrote:

I have 3 Sheets of data.
the first on has two columns NEW COST PRICES
SHEET1 A2 TO B9251
A B
PART NUMBER COST



SHEET2 A2:C18051 CURRENT COST AND SELL PRICES
A B C
PART NUMBER COST SELLING PRICE


SHEET3 A2:B20500
A
PART NUMBER

I NEED TO CREATE A FORMULA TO COMPARE THE NEW COST PRICES SHEET1 WITH THE
CURRENT COST PRICES SHEET2 AND SHOW THE PERCENTAGE DIFF.
I NEED TO MATCH THE EXACT PART NUMBER FROM COLUMN A

ON SHEET 3 I NEED TO COMPARE THE PART NUMBER IN COLUMN A AND MATCH IT
EXACTLY TO THE PARTS IN SHEET2 AND SHOW THE COST PRICES (COLUMN B) OR 0 VALUE
IF NO MATCH

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
Tracking Cost Price from Different Sheets Rao Ratan Singh Excel Discussion (Misc queries) 0 November 30th 06 10:05 AM
Cost to Retail Price Formula - some help pse Eurbiz Excel Worksheet Functions 2 May 31st 06 10:34 AM
Converting cost price to retail in vast array dstooch Excel Worksheet Functions 1 March 31st 06 01:10 AM
annual increases in price lists smedegaard Excel Discussion (Misc queries) 1 February 17th 06 12:57 PM
formula for cost as percentage of sale price elisabeth New Users to Excel 2 January 21st 06 05:43 PM


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