Formula to find conditional formatting

Pranesh

Board Regular
Joined
Jun 29, 2014
Messages
219
Hello All,

I have a conditional formatting applied in column C to highlight the duplicate values. Now I need a IF formula in column A to say whether column C value is duplicate or unique. Can someone help me with the formula.
 
If you can sort the data on column C, then you can use a simple formula like:

=IF(OR(C2=C1,C2=C3),"Duplicate","Unique")

in say D2 (I'm assuming you have a header row) and copy it down.

Hi RoryA,

You are a genius. It worked out perfectly and took only 1 second to do the calculation. Thank you so much for your assistance.

Can you make me understand one more things. I previously did a double vlookup it was also too fast in calculating. But after 4 to 5 instances it took around 15min to run it. What will be the possible reason for this slowness.
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
What do you mean by "4 to 5 instances"?
 
Upvote 0
What do you mean by "4 to 5 instances"?

I Mean that I have included double Vlookup formula in a VBA. If I open the file for the 1st time and run the macro it takes only 2min to calculate. The same way if im running the macro for the 4th or 5th time it is taking nearly 15-20 min to calculate.

I need one more help from you. I have created a thread on 11th but I didn't get reply from anyone. Can you check and help me with that as well? Below is the thread link.

https://www.mrexcel.com/forum/gener...yperlink-collapse-email-body.html#post5259085
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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