Find & change subsequent duplicates to FALSE

Pienuts

New Member
Joined
Feb 4, 2009
Messages
15
Hi, all!

I have a large sheet with, after a boatload of formulae, a TRUE or FALSE returned in column AZ. I thought I was finished, but apparently there cannot be two TRUEs with the same value in column D. I need a formula to keep the FIRST true event true, and change all the duplicates to false.

It would be preferred to do this without VBA, as my network doesn't enjoy it.

Thanks for your time!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hallo
Enter the following formula may be translated into Range AZ20:

Code:
=SE(CONTA.SE($D$1:D20;D20)=1;VERO;FALSO)
 
Upvote 0
Okay, I've figured it out.

Thanks to ISY for the inspiration.
I made column BB display the non duplicatable number for only the TRUE rows [=IF(AZ12996=TRUE,D12996,"")], and then I used this formula:

=IF(AND(AZ2=TRUE,IF(COUNTIF($BB$1:BB2,BB2)=1,TRUE,FALSE)),TRUE,FALSE)

Thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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