Matching data across two sheets to allow conditional formatting of cells

lojik

New Member
Joined
Sep 9, 2015
Messages
2
Hi all,

I have tried to search for this but have had no luck, I am ok matching on the same sheet or matching specific cells to cells but my query is a little more complicated and I am unsure how to go about doing this one.

I have two sheets, Headings below

Sheet 1 (Yesterdays Orders)
Headings:
Code:
[TABLE="width: 1390"]
<tbody>[TR]
[TD="class: xl65, width: 90"]Order #[/TD]
[TD="class: xl65, width: 200"]Supplier[/TD]
[TD="class: xl65, width: 79"]SAC Received[/TD]
[TD="class: xl65, width: 45"]Mode[/TD]
[TD="class: xl65, width: 50"]Load[/TD]
[TD="class: xl65, width: 50"]Disch[/TD]
[TD="class: xl65, width: 57"]Departure Vessel Cutoff[/TD]
[TD="class: xl65, width: 60"]ETD[/TD]
[TD="class: xl65, width: 60"]ETA[/TD]
[TD="class: xl65, width: 144"]Arrival Vessel[/TD]
[TD="class: xl65, width: 95"]Arrival Voyage[/TD]
[TD="class: xl65, width: 130"]Container[/TD]
[TD="class: xl65, width: 75"]Cont. Mode[/TD]
[TD="class: xl66, width: 60"]Packs[/TD]
[TD="class: xl66, width: 60"]Act. Volume[/TD]
[TD="class: xl65, width: 135"]Shipment Brokerage #[/TD]
[/TR]
</tbody>[/TABLE]

Sheet 2 (Todays Orders)
Order #SupplierSAC ReceivedModeLoadDischDeparture Vessel CutoffETDETAArrival VesselArrival VoyageContainerCont. ModePacksAct. VolumeShipment Brokerage #

<tbody>
</tbody>


  • The headings are identical
  • the sheets will have in the region of 1000 lines of data
  • The Order # is an identifiable number so will be the only heading that will not have duplication's

What I need to do:

I need Sheet 2 to highlight any cells that are different from Sheet 1 based on the order numbers

E.G
Sheet 1:
Code:
[TABLE="width: 1390"]
<tbody>[TR]
[TD]Order #[/TD]
[TD]Supplier[/TD]
[TD]SAC Received[/TD]
[TD]Mode[/TD]
[TD]Load[/TD]
[TD]Disch[/TD]
[TD]Departure Vessel Cutoff[/TD]
[TD]ETD[/TD]
[TD]ETA[/TD]
[TD]Arrival Vessel[/TD]
[TD]Arrival Voyage[/TD]
[TD]Container[/TD]
[TD]Cont. Mode[/TD]
[TD]Packs[/TD]
[TD]Act. Volume[/TD]
[TD]Shipment Brokerage #[/TD]
[/TR]
[TR]
[TD]PO-049404[/TD]
[TD]IMP&EXP GROUP CO.LTD[/TD]
[TD]YES[/TD]
[TD]AIR[/TD]
[TD]CNSHA[/TD]
[TD]AUMEL[/TD]
[TD][/TD]
[TD]02-Sep-15[/TD]
[TD]04-Sep-15[/TD]
[TD][/TD]
[TD]BI054[/TD]
[TD][/TD]
[TD]LSE[/TD]
[TD]51[/TD]
[TD]3.36[/TD]
[TD]S00000001[/TD]
[/TR]
</tbody>[/TABLE]

Sheet 2:
Code:
[TABLE="width: 1390"]
<tbody>[TR]
[TD]Order #[/TD]
[TD]Supplier[/TD]
[TD]SAC Received[/TD]
[TD]Mode[/TD]
[TD]Load[/TD]
[TD]Disch[/TD]
[TD]Departure Vessel Cutoff[/TD]
[TD]ETD[/TD]
[TD]ETA[/TD]
[TD]Arrival Vessel[/TD]
[TD]Arrival Voyage[/TD]
[TD]Container[/TD]
[TD]Cont. Mode[/TD]
[TD]Packs[/TD]
[TD]Act. Volume[/TD]
[TD]Shipment Brokerage #[/TD]
[/TR]
[TR]
[TD]PO-049404[/TD]
[TD]IMP&EXP GROUP CO.LTD[/TD]
[TD]YES[/TD]
[TD]AIR[/TD]
[TD]CNSHA[/TD]
[TD]AUMEL[/TD]
[TD][/TD]
[TD]02-Sep-15[/TD]
[TD][COLOR=#b22222]05-Sep-15[/COLOR][/TD]
[TD][/TD]
[TD][COLOR=#b22222]BI053[/COLOR][/TD]
[TD][/TD]
[TD]LSE[/TD]
[TD]51[/TD]
[TD]3.36[/TD]
[TD]S00000001[/TD]
[/TR]
</tbody>[/TABLE]

Problems:

Data in sheet 2 will not be in an identical list to Sheet 1, as to say there may be additional or less orders on Sheet 2 meaning the physical order in which it is shown will differ from sheet 1 so a basic =if(and) formula on a column next to each data column will not work, the identifiable number will be the order number so using that as a "lookup" will be required

I am just unsure how to go about this

Thanks for you help

Jack
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
worked it out, using countifs functions to determine if there is a match or not and using that to determine conditional formatting
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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