Conditional Format

avisoft20

Board Regular
Joined
Sep 10, 2016
Messages
64
Dear All Expert,
I am working on a data i need conditional format formula.

Example:
[TABLE="class: grid, width: 100, align: left"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Material Code[/TD]
[/TR]
[TR]
[TD]01/10/2019[/TD]
[TD]2002025[/TD]
[/TR]
[TR]
[TD]01/10/2019[/TD]
[TD]2002025[/TD]
[/TR]
[TR]
[TD]01/10/2019[/TD]
[TD]2002115[/TD]
[/TR]
</tbody>[/TABLE]








Condition:if material code is same on same date it will be highlighted.

Thanx & Regards.
Avisoft

 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Maybe with the data below (sorry it is not showing the colours)...
Select A2:A9 and apply the Conditional format formula
=COUNTIFS($A$2:$A$9,$A2, $B$2:$B$9,$B2)>1


Book1
AB
1DateMaterial Code
201/10/20192002025
301/10/20192002026
402/10/20192002115
501/10/20192002115
601/10/20192002025
701/10/20192002115
801/10/20192002027
901/10/20192002026
Invoice
 
Last edited:
Upvote 0
Thanks Mark858.
But we required coloured when found duplicate material code on same date

AB
DateMaterial Code

<tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002025[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002026[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]02/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002025[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002027[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002026[/TD]

</tbody>
Invoice

[/QUOTE]
 
Last edited:
Upvote 0
Thanks Mark858.
But we required coloured when found duplicate material code on same date

Maybe with the data below (sorry it is not showing the colours)...
Select A2:A9 and apply the Conditional format formula

AB
DateMaterial Code

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002025[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002026[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]02/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002025[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002115[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002027[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]01/10/2019[/TD]
[TD="align: right"]2002026[/TD]

</tbody>
Invoice
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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