Here is what I am trying to accomplish, I have two columns column "A" has many different numbers and column "B" has different prices associated to column "A". I am tring to find the most common price in column B as it relates to A without using a pivot. EXAMPLE 1 & 2 of result desired below. As you can see column A (item) will have several duplicate values and columb B (price) may or may not but I need an easy way of locating most common for each item. I have close to 2000 items and 180K lines of results so you can see how a pivot would be a manual process. I would not be apposed to removing duplicates of items in another column like in example 2 to get the results. It's like I need a MODE IF statement or something but I can not figure anything out, I am using excell 2007 and any help would be apprechiated. Thanks
EXAMPLE 1
[TABLE="width: 206"]
<tbody>[TR]
[TD="width: 99, bgcolor: transparent"]ITEM
[/TD]
[TD="width: 64, bgcolor: transparent"]PRICE
[/TD]
[TD="width: 112, bgcolor: transparent"]MOST COMMON
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]35.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]35.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]25.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
</tbody>[/TABLE]
EXAMPLE 2
[TABLE="width: 268"]
<colgroup><col style="width: 74pt; mso-width-source: userset; mso-width-alt: 3620;" width="99"> <col style="width: 48pt;" width="64"> <col style="width: 46pt; mso-width-source: userset; mso-width-alt: 2230;" width="61"> <col style="width: 50pt; mso-width-source: userset; mso-width-alt: 2413;" span="2" width="66"> <tbody>[TR]
[TD="width: 99, bgcolor: transparent"]ITEM [/TD]
[TD="width: 64, bgcolor: transparent"]PRICE [/TD]
[TD="width: 61, bgcolor: transparent"][/TD]
[TD="width: 66, bgcolor: transparent"]ITEM [/TD]
[TD="width: 66, bgcolor: transparent"]PRICE [/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]35.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]35.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]25.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
EXAMPLE 1
[TABLE="width: 206"]
<tbody>[TR]
[TD="width: 99, bgcolor: transparent"]ITEM
[/TD]
[TD="width: 64, bgcolor: transparent"]PRICE
[/TD]
[TD="width: 112, bgcolor: transparent"]MOST COMMON
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]35.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]35.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398211
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]39.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]25.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: transparent"]398216
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[TD="class: xl67, bgcolor: transparent"]48.99
[/TD]
[/TR]
</tbody>[/TABLE]
EXAMPLE 2
[TABLE="width: 268"]
<colgroup><col style="width: 74pt; mso-width-source: userset; mso-width-alt: 3620;" width="99"> <col style="width: 48pt;" width="64"> <col style="width: 46pt; mso-width-source: userset; mso-width-alt: 2230;" width="61"> <col style="width: 50pt; mso-width-source: userset; mso-width-alt: 2413;" span="2" width="66"> <tbody>[TR]
[TD="width: 99, bgcolor: transparent"]ITEM [/TD]
[TD="width: 64, bgcolor: transparent"]PRICE [/TD]
[TD="width: 61, bgcolor: transparent"][/TD]
[TD="width: 66, bgcolor: transparent"]ITEM [/TD]
[TD="width: 66, bgcolor: transparent"]PRICE [/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]35.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]35.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398211[/TD]
[TD="class: xl69, bgcolor: transparent"]39.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]25.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]398216[/TD]
[TD="class: xl69, bgcolor: transparent"]48.99[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: