Hi.
I have a very large dataset and I need to be able to locate data discrepancies to exclude from my rate calculation. In my example below, column Verd1 is the main identifier and column LocalVerd is another identifier created by a vendor. I need to figure out how to code to identify erroneous data within a group. In the example below, under column Plan, Pacific would pass and is correct as the rows within Pacific contain consistent identifier information (Same Verd1 and same localVerd). However, Plan Delta for product X33ui will need to be excluded as this product (X33ui) contain two different LocalVerd identifiers (PX333 and Rx988) for this same Verd1 identifier (Twa88)- LocalVerd should be PX333 but reported Rx988.
Is there a way to code to output table containing all the Plan and product containing inconsistencies? Data table is below and my output table I would like is the second table. Thank you in advance
Plan
Product
Verd1
LocalVerd
Delta
X33ui
Twa88
PX333
Delta
X33ui
Twa88
PX333
Delta
X33ui
Twa88
RX988
Pacific
V933aa
Lbl322
QT770
Pacific
V933aa
Lbl322
QT770
Wanted OUTPUT
Plan
Product
Verd1
LocalVerd
Delta
X33ui
Twa88
PX333
Delta
X33ui
Twa88
PX333
Delta
X33ui
Twa88
RX988
... View more