jski21
Board Regular
- Joined
- Jan 2, 2019
- Messages
- 155
- Office Version
- 2016
- Platform
- Windows
Good day Mr. Excel team,
Working through a rather large dataset and could alleviate some pain but need this groups assistance. The dataset represents transportation activity. One row for pickup, one row for return. I'd like to maintain the existing dataset for reference. If I could winnow done the data by eliminating one row of a matched set that would make the analysis much more manageable. Example:
If the Client Name in Column B and the Pickup Date in Column C on Row 1 and Row 2 are the same (this is a round trip), Row 2 would be deleted. On to Record #3. Same exercise. On to Record #5, etc. The dataset is fairly large (out to Column BJ) and lengthy (Row 578285).
I could simply run the analysis and divide by two; however, some of these are one-ways and I need to be on target with the analysis. VBA seems to be the best direction, but need a bit of direction or other ideas.
Thanks in advance for the review and counsel.
Best regards,
jski
Working through a rather large dataset and could alleviate some pain but need this groups assistance. The dataset represents transportation activity. One row for pickup, one row for return. I'd like to maintain the existing dataset for reference. If I could winnow done the data by eliminating one row of a matched set that would make the analysis much more manageable. Example:
STC Data.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Record# | Client Name | Pickup Date | ||
2 | 1 | Customer 1 | 1/2/2017 | ||
3 | 2 | Customer 1 | 1/2/2017 | ||
4 | 3 | Customer 2 | 1/2/2017 | ||
5 | 4 | Customer 2 | 1/2/2017 | ||
6 | 5 | Customer 3 | 1/3/2017 | ||
7 | 6 | Customer 3 | 1/3/2017 | ||
STC 2017-2022 |
If the Client Name in Column B and the Pickup Date in Column C on Row 1 and Row 2 are the same (this is a round trip), Row 2 would be deleted. On to Record #3. Same exercise. On to Record #5, etc. The dataset is fairly large (out to Column BJ) and lengthy (Row 578285).
I could simply run the analysis and divide by two; however, some of these are one-ways and I need to be on target with the analysis. VBA seems to be the best direction, but need a bit of direction or other ideas.
Thanks in advance for the review and counsel.
Best regards,
jski