Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi All
I have joined two sets of records into two columns. The first column gives the name of the record and the second column will either be blank or have the text "HSTD". I am trying to eliminate a number of these records - hopefully about 5000 of them. The problem is that some of the records that have a blank cell in the second column should really have the "HSTD" text. The only way of working out which ones come under this category is to find out whether the number of records for a given name with "HSTD" text equal the number of records that with a corresponing blank cell. An extract of the data is below for those who may be a little confused. Aalsmear HSTD Aashiana HSTD Abaden HSTD Abbey Park HSTD Abbotsford HSTD Abbotsford HSTD Abbotsford HSTD Abbotsroyd Farm HSTD Abbottsfort HSTD Aberavon HSTD Aberystwyth HSTD Abington HSTD Aboyne HSTD Aboyne Aboyne Abran HSTD Acacia Downs HSTD Acacia Downs HSTD Acacia Downs Acacia Downs Acacia Farm HSTD Accolade Lodge HSTD Achmore HSTD Achray HSTD Acland Downs HSTD Acreage HSTD Acton HSTD Acton Downs HSTD Acton Meadows HSTD Ada HSTD Ada Adair Adair Adams Flat Addavale HSTD For the example above the name Acacia Downs would be eliminated as it has two records that have "HSTD" and two equivalent records that have a blank cell. However the records with Aboyne would not be culled as it has only one record with "HSTD" and two records with blank cells. Records like Adair would not be touched as there are no records with "HSTD". Can you see where we're coming from? I will eventually eliminate all records that have "HSTD" but am using them to thresh out the other records. I have already eliminated about 3000 records which had one record each with the formula (placed in column C) after appropriate sorting - =IF(AND(B1="HSTD", B2="", B3<"", A1=A2),"A",""). Then I would delete records tagged with "A". Just can't seem to come up with something for more than two records each without thinking that it needs VB. Any help would be appreciated. Regards, Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
select records with a specific value | Excel Worksheet Functions | |||
Deleting specific records from a column | Excel Discussion (Misc queries) | |||
deleting duplicate records in a mail merge | Excel Discussion (Misc queries) | |||
Number of records by Month that meet a specific requirement | Excel Worksheet Functions | |||
How to delete duplicate records when I merge two lists (deleting . | Excel Worksheet Functions |