Hello,
I have a spreadsheet where I would like to remove duplicate values from columns A-E based on duplicates in column C (or B, either will work--not sure if it is easier to use a number or text column). I want to leave the A-E data in the first row that a name appears, but blank it out below, until a row with a new name.
I thought I had a solution using the formulas below, but it's blanking everything:
A1: =IF(C1=C2,"",A1)
B1: =IF(C1=C2,"",B1)
C1: =IF(C1=C2,"",C1)
D1: =IF(C1=C2,"",D1)
E1: =IF(C1=C2,"",E1)
The tables below are TABLEA: What I'm starting with; TABLEB: What I want to achieve; TABLEC: What happens when I apply the formulas.
Thank you for your help!!
Heather
I have a spreadsheet where I would like to remove duplicate values from columns A-E based on duplicates in column C (or B, either will work--not sure if it is easier to use a number or text column). I want to leave the A-E data in the first row that a name appears, but blank it out below, until a row with a new name.
I thought I had a solution using the formulas below, but it's blanking everything:
A1: =IF(C1=C2,"",A1)
B1: =IF(C1=C2,"",B1)
C1: =IF(C1=C2,"",C1)
D1: =IF(C1=C2,"",D1)
E1: =IF(C1=C2,"",E1)
The tables below are TABLEA: What I'm starting with; TABLEB: What I want to achieve; TABLEC: What happens when I apply the formulas.
Thank you for your help!!
Heather
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Affiliation | ID# | Pref Name w Suffix | Rating | 5-yr Giving | Relation Id | Relation Type | Relation Pref Name w Suffix | Relation Rating | Relation 5-yr Giving | ||
2 | PHYSICS | 10023868 | Mr. Doug M. Worman '96 | CW | $ 170.00 | 7009006 | Parent | Mr. Matthias B. Worman '70 P'05 '96 | 6 | $ 28,000.00 | ||
3 | PHYSICS | 10023868 | Mr. Doug M. Worman '96 | CW | $ 170.00 | 10043556 | Sibling | Mrs. Suzy Lantsman '05 | CW | $ 450.00 | ||
4 | PHYSICS | 10023868 | Mr. Doug M. Worman '96 | CW | $ 170.00 | 10022938 | Parent | Mrs. Matthias B. Worman P'05 '96 | 6 | $ - | ||
5 | CREW | 10024167 | Ms. Mickey J. Nesmith '96 | 6 | $ 12,500.00 | 10024647 | Parent | Mr. & Mrs. John F. Nesmith P'96 | 8 | $ - | ||
6 | AGENTS | 10025692 | Mr. John Forge '97 | 9 | $ 2,750.00 | 10015288 | Sibling | Ms. Kristin J. Forge '92 | 8 | $ 400,000.00 | ||
7 | AGENTS | 10025692 | Mr. John Forge '97 | 9 | $ 2,750.00 | 10073058 | Inlaw | Mr. Steve Casey | 8 | $ - | ||
8 | AGENTS | 10025692 | Mr. John Forge '97 | 9 | $ 2,750.00 | 6529599 | Parent | Dr. H. James Forge (dec'd) '65 P'97 '92 | 9 | $ 100,215.00 | ||
9 | AGENTS | 10025692 | Mr. John Forge '97 | 9 | $ 2,750.00 | 10029576 | Parent | Mrs. Alison Forge H'65 P'97 '92 | 9 | $ - | ||
10 | FYE | 10025906 | Mr. Mike D. Ransick '97 | CW | $ - | 10008283 | Inlaw | Mr. Michael J. Swiss '89 P'20 | 6 | $ 280,620.00 | ||
11 | FYE | 10025906 | Mr. Mike D. Ransick '97 | CW | $ - | 10076742 | Inlaw | Ms. Kristen E. Swiss P'20 | 6 | $ 7,500.00 | ||
12 | FYE | 10025906 | Mr. Mike D. Ransick '97 | CW | $ - | 10076736 | Niece | Ms. Cecilia A. Swiss '20 | CW | $ - | ||
13 | CREW | 10028268 | Mrs. Laura Douglas '97 | CW | $ 850.00 | 10084011 | Stepparent | Ms. Laura Baker | 6 | $ - | ||
14 | CREW | 10028268 | Mrs. Laura Douglas '97 | CW | $ 850.00 | 6221340 | Parent | Mr. Carl B. Douglas '62 P'98 '92 | 6 | $ 4,366.41 | ||
15 | CREW | 10028268 | Mrs. Laura Douglas '97 | CW | $ 850.00 | 10015662 | Sibling | Mr. Blake T. Douglas '92 | CW | $ 100.00 | ||
16 | CREW | 10028268 | Mrs. Laura Douglas '97 | CW | $ 850.00 | 3421331 | Grandparent | Dr. Carl Douglas, Jr. (dec'd) '34 P'62 GP'98 '92 | U | $ - | ||
17 | PHYSICS | 10028413 | Mrs. Jennifer Maitland '98 | $ 1,286.90 | ||||||||
18 | CREW | 10030463 | Ms. Winter Morgan '99 | CW | $ 45,000.00 | 10030843 | Parent | Mr. & Mrs. Joseph Wallis P'99 | 7 | $ - | ||
TABLEA |
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Affiliation | ID# | Pref Name w Suffix | Rating | 5-yr Giving | Relation Id | Relation Type | Relation Pref Name w Suffix | Relation Rating | Relation 5-yr Giving | ||
2 | PHYSICS | 10023868 | Mr. Doug M. Worman '96 | CW | $ 170.00 | 7009006 | Parent | Mr. Matthias B. Worman '70 P'05 '96 | 6 | $ 28,000.00 | ||
3 | 10043556 | Sibling | Mrs. Suzy Lantsman '05 | CW | $ 450.00 | |||||||
4 | 10022938 | Parent | Mrs. Matthias B. Worman P'05 '96 | 6 | $ - | |||||||
5 | CREW | 10024167 | Ms. Mickey J. Nesmith '96 | 6 | $ 12,500.00 | 10024647 | Parent | Mr. & Mrs. John F. Nesmith P'96 | 8 | $ - | ||
6 | AGENTS | 10025692 | Mr. John Forge '97 | 9 | $ 2,750.00 | 10015288 | Sibling | Ms. Kristin J. Forge '92 | 8 | $ 400,000.00 | ||
7 | 10073058 | Inlaw | Mr. Steve Casey | 8 | $ - | |||||||
8 | 6529599 | Parent | Dr. H. James Forge (dec'd) '65 P'97 '92 | 9 | $ 100,215.00 | |||||||
9 | 10029576 | Parent | Mrs. Alison Forge H'65 P'97 '92 | 9 | $ - | |||||||
10 | FYE | 10025906 | Mr. Mike D. Ransick '97 | CW | $ - | 10008283 | Inlaw | Mr. Michael J. Swiss '89 P'20 | 6 | $ 280,620.00 | ||
11 | 10076742 | Inlaw | Ms. Kristen E. Swiss P'20 | 6 | $ 7,500.00 | |||||||
12 | 10076736 | Niece | Ms. Cecilia A. Swiss '20 | CW | $ - | |||||||
13 | CREW | 10028268 | Mrs. Laura Douglas '97 | CW | $ 850.00 | 10084011 | Stepparent | Ms. Laura Baker | 6 | $ - | ||
14 | 6221340 | Parent | Mr. Carl B. Douglas '62 P'98 '92 | 6 | $ 4,366.41 | |||||||
15 | 10015662 | Sibling | Mr. Blake T. Douglas '92 | CW | $ 100.00 | |||||||
16 | 3421331 | Grandparent | Dr. Carl Douglas, Jr. (dec'd) '34 P'62 GP'98 '92 | U | $ - | |||||||
17 | PHYSICS | 10028413 | Mrs. Jennifer Maitland '98 | $ 1,286.90 | ||||||||
18 | CREW | 10030463 | Ms. Winter Morgan '99 | CW | $ 45,000.00 | 10030843 | Parent | Mr. & Mrs. Joseph Wallis P'99 | 7 | $ - | ||
TABLEB |
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Affiliation | ID# | Pref Name w Suffix | Rating | 5-yr Giving | Relation Id | Relation Type | Relation Pref Name w Suffix | Relation Rating | Relation 5-yr Giving | ||
2 | 0 | 0 | 0 | $ - | 7009006 | Parent | Mr. Matthias B. Worman '70 P'05 '96 | 6 | $ 28,000.00 | |||
3 | 0 | 0 | 0 | $ - | 10043556 | Sibling | Mrs. Suzy Lantsman '05 | CW | $ 450.00 | |||
4 | 0 | 0 | 0 | $ - | 10022938 | Parent | Mrs. Matthias B. Worman P'05 '96 | 6 | $ - | |||
5 | 0 | 0 | 0 | $ - | 10024647 | Parent | Mr. & Mrs. John F. Nesmith P'96 | 8 | $ - | |||
6 | 0 | 0 | 0 | $ - | 10015288 | Sibling | Ms. Kristin J. Forge '92 | 8 | $ 400,000.00 | |||
7 | 0 | 0 | 0 | $ - | 10073058 | Inlaw | Mr. Steve Casey | 8 | $ - | |||
8 | 0 | 0 | 0 | $ - | 6529599 | Parent | Dr. H. James Forge (dec'd) '65 P'97 '92 | 9 | $ 100,215.00 | |||
9 | 0 | 0 | 0 | $ - | 10029576 | Parent | Mrs. Alison Forge H'65 P'97 '92 | 9 | $ - | |||
10 | 0 | 0 | 0 | $ - | 10008283 | Inlaw | Mr. Michael J. Swiss '89 P'20 | 6 | $ 280,620.00 | |||
11 | 0 | 0 | 0 | $ - | 10076742 | Inlaw | Ms. Kristen E. Swiss P'20 | 6 | $ 7,500.00 | |||
12 | 0 | 0 | 0 | $ - | 10076736 | Niece | Ms. Cecilia A. Swiss '20 | CW | $ - | |||
13 | 0 | 0 | 0 | $ - | 10084011 | Stepparent | Ms. Laura Baker | 6 | $ - | |||
14 | 0 | 0 | 0 | $ - | 6221340 | Parent | Mr. Carl B. Douglas '62 P'98 '92 | 6 | $ 4,366.41 | |||
15 | 0 | 0 | 0 | $ - | 10015662 | Sibling | Mr. Blake T. Douglas '92 | CW | $ 100.00 | |||
16 | 0 | 0 | 0 | $ - | 3421331 | Grandparent | Dr. Carl Douglas, Jr. (dec'd) '34 P'62 GP'98 '92 | U | $ - | |||
17 | 0 | 0 | 0 | $ - | ||||||||
18 | 0 | 0 | 0 | $ - | 10030843 | Parent | Mr. & Mrs. Joseph Wallis P'99 | 7 | $ - | |||
TABLEC |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:A18 | A2 | =IF(C2=C3,"",A2) |
B2:B18 | B2 | =IF(C2=C3,"",B2) |
C2:C18 | C2 | =IF(C2=C3,"",C2) |
D2:D18 | D2 | =IF(C2=C3,"",D2) |
E2:E18 | E2 | =IF(C2=C3,"",E2) |