Counting Pre-existing Combination of certain combination of column exist and report if missing or extra .

querylal

New Member
Joined
Nov 13, 2017
Messages
14
I have one worksheet name measurementIdentity where I want to count preexisting combination (column D,H,I and J) for each Cell (unique value of column C) and band (Column K). from audit list result you will know which condition is preexisting and which is extra and which is missing. I have more list of combination which I will edit later after your solution.

Thanks once again for your time. Requires asap.




measurementIdentity.xlsx
[TABLE="width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]Name1
[/TD]
[TD]Name2
[/TD]
[TD]Sector_Carrier
[/TD]
[TD]Measurement_Identity
[/TD]
[TD]Name3
[/TD]
[TD]Name4
[/TD]
[TD]Name5
[/TD]
[TD]measurement purpose
[/TD]
[TD]ReportConfig
[/TD]
[TD]MeasurementObject
[/TD]
[TD]Band
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1
[/TD]
[TD]0
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq
[/TD]
[TD]0
[/TD]
[TD]0
[/TD]
[TD]700
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR
[/TD]
[TD]1
[/TD]
[TD]0
[/TD]
[TD]700
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1
[/TD]
[TD]11
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Report-CGI
[/TD]
[TD]21
[/TD]
[TD]2
[/TD]
[TD]700
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1
[/TD]
[TD]15
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Automatic-Neighbor-Relation
[/TD]
[TD]15
[/TD]
[TD]0
[/TD]
[TD]700
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1
[/TD]
[TD]19
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Leaving-Coverage-Alarm
[/TD]
[TD]27
[/TD]
[TD]0
[/TD]
[TD]700
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]AWS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq
[/TD]
[TD]0
[/TD]
[TD]1
[/TD]
[TD]AWS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2
[/TD]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Below-Serving-Floor
[/TD]
[TD]3
[/TD]
[TD]1
[/TD]
[TD]AWS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2
[/TD]
[TD]11
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Report-CGI
[/TD]
[TD]21
[/TD]
[TD]2
[/TD]
[TD]AWS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2
[/TD]
[TD]16
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Automatic-Neighbor-Relation
[/TD]
[TD]15
[/TD]
[TD]1
[/TD]
[TD]AWS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]PCS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq
[/TD]
[TD]0
[/TD]
[TD]2
[/TD]
[TD]PCS
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4
[/TD]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Below-Serving-Floor
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]PCS
[/TD]
[/TR]
</tbody>[/TABLE]



I want to create another sheet name Auditsheet.xlsx based on above audit and it will look like below

Auditsheet.xlsx
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sector Carrier
[/TD]
[TD]Audit
[/TD]
[TD]Error
[/TD]
[/TR]
[TR]
[TD]78001_1
[/TD]
[TD]1.MeasuremetnIdentity 11-Measurement Purpose Report CGI-ReportConfig21-Measurement Object2 should not exist.

2. MeasurementIdentity 0-Measurement Purpose Mobility Intra Freq-ReportConfig 0-Measurement Object0 is extra combination

3. MeasurementIdentity 40- Measurement Purpose PcmdorTrace-ReportConfig 10-MeasurementObject 0 is missing
[/TD]
[TD]Yes
[/TD]
[/TR]
[TR]
[TD]78001_1_2
[/TD]
[TD]Measurement Identity 22-Measureement Purpose Report CGI-RerportConfig21 -MeasurementObject 0 is missing
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]78001_1_4
[/TD]
[TD][/TD]
[TD]No
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I have one worksheet name measurementIdentity where I want to count preexisting combination (column D,H,I and J) for each Cell (unique value of column C) and band (Column K). from audit list result you will know which condition is preexisting and which is extra and which is missing. I have more list of combination which I will edit later after your solution.

Thanks once again for your time. Requires asap.




measurementIdentity.xlsx
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[/TR]
[TR]
[TD]Name1[/TD]
[TD]Name2[/TD]
[TD]Sector_Carrier[/TD]
[TD]Measurement_Identity[/TD]
[TD]Name3[/TD]
[TD]Name4[/TD]
[TD]Name5[/TD]
[TD]measurement purpose[/TD]
[TD]ReportConfig[/TD]
[TD]MeasurementObject[/TD]
[TD]Band[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]700[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]700[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1[/TD]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Report-CGI[/TD]
[TD]21[/TD]
[TD]2[/TD]
[TD]700[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1[/TD]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Automatic-Neighbor-Relation[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]700[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1[/TD]
[TD]19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Leaving-Coverage-Alarm[/TD]
[TD]27[/TD]
[TD]0[/TD]
[TD]700[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]AWS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]AWS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Below-Serving-Floor[/TD]
[TD]3[/TD]
[TD]1[/TD]
[TD]AWS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2[/TD]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Report-CGI[/TD]
[TD]21[/TD]
[TD]2[/TD]
[TD]AWS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_2[/TD]
[TD]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Automatic-Neighbor-Relation[/TD]
[TD]15[/TD]
[TD]1[/TD]
[TD]AWS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Cell-Edge-Intra-Freq-UL-CoMP-JR[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]PCS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mobility-Intra-Freq[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]PCS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]78001_1_4[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Below-Serving-Floor[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]PCS[/TD]
[/TR]
</tbody>[/TABLE]



I want to create another sheet name Auditsheet.xlsx based on above audit and it will look like below

Auditsheet.xlsx
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sector Carrier[/TD]
[TD]Audit[/TD]
[TD]Error[/TD]
[/TR]
[TR]
[TD]78001_1[/TD]
[TD]1.MeasuremetnIdentity 11-Measurement Purpose Report CGI-ReportConfig21-Measurement Object2 should not exist.

2. MeasurementIdentity 0-Measurement Purpose Mobility Intra Freq-ReportConfig 0-Measurement Object0 is extra combination

3. MeasurementIdentity 40- Measurement Purpose PcmdorTrace-ReportConfig 10-MeasurementObject 0 is missing[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]78001_1_2[/TD]
[TD]Measurement Identity 22-Measureement Purpose Report CGI-RerportConfig21 -MeasurementObject 0 is missing[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]78001_1_4[/TD]
[TD][/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can some one please help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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