Dublicate

Ekstamm

New Member
Joined
Jul 21, 2011
Messages
19
I have a formula that checks my sheet if the number is typed or not in a specifik coulmn and makes me a "status" if it is Patched nor not. (the number is the name of a fixture)

=IF(ISNUMBER(MATCH(A:A;'ART48-1'!D2:D56;0));"PATCHED";"")

Kan I extend this formula to also find Duplicates and then type DUBBLE instead of Patched but still leave the cell empty when nothing is found.
I was then planning on using validation to make a popup with an error that says you can not write the same number twice.

Does that make any cense?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
If I follow correctly, is this what you wanted?

=IF(COUNTIF('ART48-1'!D2:D56,A2)=1;"PATCHED";IF(COUNTIF('ART48-1'!D2:D56,A2)>1"DUBBLE";""))

Where A2 is a Cell containing the value of interest.

Matty
 
Upvote 0
This workes perfect. Just don't understand where the A2 comes from. Thats the part I cant get my head round.
 
Upvote 0
I missed off a semi-colon in my previous post. It should be like this:

=IF(COUNTIF('ART48-1'!D2:D56,A2)=1;"PATCHED";IF(COUNTIF('ART48-1'!D2:D56,A2)>1;"DUBBLE";""))

Where A2 contains the name of a "fixture".

Matty
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,866
Members
452,948
Latest member
UsmanAli786

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