Formula to apply to filtered data

AZN001

New Member
Joined
Jul 23, 2019
Messages
3
I using this formula to copy duplicates of column S (starting at S10) over to U (starting at U10) - =IF(COUNTIF($S$10:S10,S10)=1,S10,""). However, I want it to only apply to the filtered data meaning if a duplicate was found on S11 with S13 and the duplicate was moved to S11, the next time I filter with S13 and down, I want the duplicate to show on S13 because S11 is no longer a part of my list.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
So if the list is

S11 - 1 U11-1
S12 - 2 U12-2
S13 - 1 U13-blank
S14 - 1 U14- blank

I want to be able to do this after it is filtered without S11
S13 - 1 U13-1
S14 - 2 U14-2
S15 - 1 U15-blank
S16 - 1 U16- blank
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

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