Comparing Data

MCR007

New Member
Joined
Mar 6, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have an Excel worksheet with a list of construction components (i.e a moulding) each with a unique ID. For instance "NT_03.12". The column is around 1,500 items long.

Each component has a drawing that a works contractor has drawn. I have this in workbook 2. The data is from an online document register. The works contractor names their drawing title slightly different but always contains the unique ID instance "corner moulding NT_03.12" this column is around 1,200 items long.

I would like to cross compare the two workbooks to see what data is missing (which drawings I do not have).

Example:

Component Drawing Title
NT_03.12Special SP_06.22
NT_03.14Straight Moulding NT_03.12
NT_02.11Corner Moulding NT_03.12
NX_03.01Vertical moulding SW_09.17
SW_09.17Oversized SP_06.22
SP_06.22
TT_03.45


I want to be able to show/ highlight between the two worksheets the drawings that are missing, with TT_03.45 & NX_03.01 in the above example missing.

I have tired to do some research and use conditional formatting with "use an formula to determine which cells to format" but it doesn't work as the information does not line up in the rows and the cell data does not contain the exact same information.

Any guidance on how to resolve would be greatly appreciated.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
MrExcelPlayground16.xlsx
ABC
2ComponentDrawing Title
3NT_03.12Special SP_06.22
4NT_03.14Straight Moulding NT_03.12
5NT_02.11Corner Moulding NT_03.12
6NX_03.01Vertical moulding SW_09.17
7SW_09.17Oversized SP_06.22
8SP_06.22
9TT_03.45
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3:A9Expression=NOT(OR(ISNUMBER(SEARCH(A3,$C$3:$C$7))))textNO
 
Upvote 0
Thank you, think i'm going wrong somewhere.

1678136080921.png
 
Upvote 0
The a2:a8 should just be a2. It will 'drag down' the rest of the way. The b2:b8 should be b$2:b$8.

So:
=NOT(OR(ISNUMBER(SEARCH(A2,B$2:B$8))))
 
Upvote 1
The a2:a8 should just be a2. It will 'drag down' the rest of the way. The b2:b8 should be b$2:b$8.

So:
=NOT(OR(ISNUMBER(SEARCH(A2,B$2:B$8))))
This has been so helpful! Thanks! I have now been able to do this between worksheets as per the below.

One last thing I need to figure out if you can please assist.

I need to do a count if on the items below if that colour?

This will give me the number of drawings missing as well as being able to visually identify them (I know I can use the filter but would like to demonstrate it at the bottom).

1678137564246.png
1678137564246.png
 
Upvote 0
The formula gets a bit convoluted:
MrExcelPlayground16.xlsx
ABC
2ComponentDrawing Title
3NT_03.12Special SP_06.22
4NT_03.14Straight Moulding NT_03.12
5NT_02.11Corner Moulding NT_03.12
6NX_03.01Vertical moulding SW_09.17
7SW_09.17Oversized SP_06.22
8SP_06.22
9TT_03.45
10
114Missing
Sheet8
Cell Formulas
RangeFormula
A11A11=LET(a,--NOT(ISNUMBER(SEARCH(A3:A9,TRANSPOSE(C3:C7)))),b, COLUMNS(a),c,SEQUENCE(b,1,1,0),d,MMULT(a,c)=b,SUM(--d))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3:A9Expression=NOT(OR(ISNUMBER(SEARCH(A3,$C$3:$C$7))))textNO
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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