ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how can i highlight dupplicated in 2 sheets at a time? (https://www.excelbanter.com/excel-worksheet-functions/82429-how-can-i-highlight-dupplicated-2-sheets-time.html)

Rana Usman Khan

how can i highlight dupplicated in 2 sheets at a time?
 
i wrote some files number in sheet1 and next month i wrote some files number
again in sheet2 now i want to find dupplicates file numbers in both sheets
and i want to highlight those files. can you please help me. it will be great
help for me. thanks a lot in advance.

Bob Phillips

how can i highlight dupplicated in 2 sheets at a time?
 
Look at conditional formatting in help.

The only thing you need to know that the help doesn't mention is that when
referring to ranges on different sheets, they need to refer to range names
(InsertNameDefine...) to work.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Rana Usman Khan" wrote in message
...
i wrote some files number in sheet1 and next month i wrote some files

number
again in sheet2 now i want to find dupplicates file numbers in both sheets
and i want to highlight those files. can you please help me. it will be

great
help for me. thanks a lot in advance.




Ashish Mathur

how can i highlight dupplicated in 2 sheets at a time?
 
Hi,

Try the following procedure.

In sheet 2, highlight the file number range and follow this

Go to InsetNameDefile and assign a name to it say files and in the refers
to box, put the range. Here please remember to make the starting reference
of the range as relative i.e. there should not be a $ sign. It should be
something like this
Sheet2!B2:$B$12

Click on Add and come out of it

In sheet 1, highlight the entire range of file names and then go to
FormatConditinal formatting andf then type

=OR(EXACT(B6,files)). This assumed that B6 is the first cell which carries
the file numbers. Change it accordingly.

Next, go to the format tab and select the pattern colour. Click OK

It should work fine now.

Hope this helps. If you face an problems, please feel free to get in touch
with me.

Regards






"Rana Usman Khan" wrote:

i wrote some files number in sheet1 and next month i wrote some files number
again in sheet2 now i want to find dupplicates file numbers in both sheets
and i want to highlight those files. can you please help me. it will be great
help for me. thanks a lot in advance.



All times are GMT +1. The time now is 07:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com