Coutif and offset with something else

bboysen

New Member
Joined
Aug 6, 2010
Messages
44
Hi all,

Here is my problem today.

I have a list of joint info that i need to find if they are duplicated joints or are the same joint just cut up.

I have the formula for finding the Duplicated Joints just based on the joint info. But now I need to find the ones that are really a different joint and not the same joint cut up.

Here is what I have been working on
=IF(COUNTIF(E:E,E10)>1,IF(COUNTIF(F:F,OFFSET(E10,0,1))>1,"","DUP"),"")

What I need it to do is look at the E column and find the Duplicated Joint then if it shows it as a duplicated joint look at the F column and see if it has the same Heat Number as the first one.
It is close or it could be way off. :confused:

Here is also a part of my workbook to help you understand what i am talking about.
So Row 7 and 8 are Duplicated Joint and Rows 9 and 10 are also duplicated joints. But if you look at rows 14 and 15 they are not. They come from the same joint and you can tell by the length of the joint.

Excel 2010
CDEF
5Pipe Length(Degrees)Joint NumberHeat Number
657022-1F41880
755.11000-1F41553
876.11000-1R42326
978.61000-2R42326
1078.31000-2F41553
1178.31000-3F41553
12471000-4F41553
1378.41000-6R42245
1446.21000-8R42326
1553.81000-8R42326
1677.71001-1R42245

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Master Tally Spread 1
Thanks for your help and hope you all have a good day!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Using the above C5:F16 as the sample range paste this in G6 and copy down: =IF(AND(COUNTIF($E$6:$E$16,E6)>1,SUMPRODUCT(--($E$6:$E$16=E6),--($F$6:$F$16=F6))<2),"DUP","")
 
Upvote 0

Forum statistics

Threads
1,216,171
Messages
6,129,284
Members
449,498
Latest member
Lee_ray

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top