Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Comparing identical part numbers but with different prices

Think that I have cracked it, tried re-naming the sheets and it worked, just
got to get the decimal places worked out now and I am in clover. Thanks a
million.
--
Martin T


"Martin T" wrote:

This almost works. However, it returns the value from sheet 1, coulmn B all
the time. I have tried changing things in the formula, but it always returns
the value in column B, sheet 1.

If I use the formula in sheet 2, it returns the value in column B, sheet 2.

The only thing that I didn't mention, don't know if it would affect
anything, is that the data in Column A, sheet 1 is in sequence, i.e. 0001-001
to 8000-999. In sheet 2 the data in column A starts with 1301-001 up to
8000-900 in number order but with gaps, for instance the number after
1301-001 is 2121-900. Only the part numbers with new prices against them are
in column A in sheet 2.

Almost there, hope that you can fix this, it will save me weeks of manual
checking. I have 7 versions of sheet 2 to compare :-(

Martin T


"Sean Timmons" wrote:

=if(iserror(VLOOKUP(A2,sheet2!A:B,2,false)),B2,VLO OKUP(A2,sheet2!A:B,2,false))

basically says lookup the part # in sheet 2 and return the price from column
B. If the part # is not found in sheet 2, then just return the value in the
current sheet's column B. This assumes the formula is placed on sheet 1. If
not, just add the sheet name in front of the A2's.


"Martin T" wrote:

I have two spreadsheets in the same workbook. One is a download with 6000
part numbers in column A, some of which have prices in column B. The second
sheet has less than 1000 of the same part numbers in column A, with new
prices in column B. I want to compare the two and show only the new prices,
they can be in a new column. I am probably being thick, but I can't work out
how to do it.

Sheet 1
Col A Col B
2121-907 0
2121-908 0
2121-909 0
2121-910 0

Col A Col B
2121-907 1.00
2121-909 1.00
2121-910 2.00

Martin T

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
matching upc numbers and prices fitzsociety Excel Discussion (Misc queries) 11 April 19th 08 06:34 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
Comparing two spreadsheets part 2 Freddo Excel Worksheet Functions 10 May 4th 06 07:27 PM
excel 2003 help comparing prices for lowest paul Excel Worksheet Functions 4 March 4th 06 08:11 AM
I am trying to round a list of numbers (prices) to xx.95. Is the Comexe35 Excel Worksheet Functions 3 February 3rd 06 01:49 PM


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