highligt duplicate value conditional formatting.

newapa

Board Regular
Joined
Sep 13, 2012
Messages
69
Hi!

i'm new in vba. and i can nothing about conditional formatting. so i wonder if some one can help me with the conditional formatting. that marks duplicated value in 2 column. something like this.
Code:
column B    column C           column D       column E       column F         column G
nameA       2012-03-03       00:05:09       nameA           2012-03-03     00:05:09
nameB       2012-05-06       08:06:07       nameB           2012-05-06     08:06:07
nameC       2012-04-05       05:01:22       namec           2012-04-08      05:01:22
thx in advance
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
i have a folder there is about 600 files. and i have copied all the file to another folder. and i have listing all this file in to exel and wanted to check if the file name and time and size is the same. and i found out there is one with different time. so i need a conditional to check that name have same name date have same date and size have same size. som i can se whitch one is the one that not have the same date or size.

here some sampel data

Code:
bare1237.sdv	2012-09-16 22:25	32705			bare1237.sdv	2012-09-16 22:25	32705
bare1238.sdv	2012-09-21 10:26	23756			bare1238.sdv	2012-09-21 10:26	23756
cphdkk12.xls	2012-09-20 12:36	117248			cphdkk12.xls	2012-09-20 13:00	117248

thx
 
Upvote 0
Select all your data and apply a conditional formatting formula like:

=AND(EXACT($B1,$E1),EXACT($C1,$F1),EXACT($D1,$G1))

Take care to have $ signs before each column reference.
 
Upvote 0
Hi andrew. thx a lot. it working fine.

but can u help me with one more conditional. i tried to creat a conditional the formula is like this. =And(0,02 > ($E1-$B1);0,009<($E1-$B1))
but it mark alla in column b and e white. i wanted that if time in column E is newer then column B between 0 to 30 min it will be green. but B can't be newer then E. as u can se B is 12.36 is old time. but E is 13.00 is newer time than 12.36.

Code:
cphdkk12.xls	2012-09-20 12:36	117248			cphdkk12.xls	2012-09-20 13:00	117248


thx
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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