View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Help with data Comparison

Why not sort on item number as key 1 and Price as key two.

then you could use a formula in column C like

c2 : =if(A2=A3,if(B2<B3),"<==",""),"")

drag fill down the column

If you don't want to alter your sheet, copy it and do your analysis on a
copy.

--
Regards,
Tom Ogilvy


wrote in message
ups.com...
I have the following:
Column A Column B
-------------- ------------
Item Number Price

Column A has duplicate item numbers. How can I find the duplicate Item
numbers and then compare if the duplicate ones have the same price or
not. Can this be done with just one formula or two. Or do you have to
do VB code for this? Someone suggested using a pivot table, but I don't
think that would work, would it?