How to "Remove Duplicates If . . ."?

bbarge

New Member
Joined
Nov 4, 2014
Messages
5
Hi all,

I have a long list of grant data (~450 entries), and every row represents one grants. There are two main kinds: GOS & project, and each entry is coded with the organization name (Column: Organization Name), and one of those two codes (Column: Grant Type).

I want to remove duplicates--but partially. Essentially, for every organization, I want to remove all duplicate GOS grants, but preserve all project grants. Right now, I can't figure out how to do that, because when I use the Remove Duplicates tool, it won't let me check Grant Type AND ADD IF . . .

So, is there a way to "Remove Duplicates if . . ."? I'd greatly appreciate knowing how!

Thanks,
Ben
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
OrganisationGrant
org1GOS
org2PROJ
org3GOS
org4PROJ
org5GOS
org1PROJ
org2GOS
org3PROJ
org4GOS
org5PROJ
org1GOS
org2PROJ
org3GOS
org4PROJ
org5GOS
sorted by grant ascending then organisation ascending
OrganisationGrant
org1GOS1##############formula=IF(AND(B23="gos",B24="gos"),IF(A23=A24,1,""),"")
org1GOS
org2GOS
org3GOS1
org3GOS
org4GOS
org5GOS1
org5GOS
org1PROJ
org2PROJ
org2PROJ
org3PROJ
org4PROJ
org4PROJ
org5PROJ

<colgroup><col><col><col span="14"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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