I am a newbie in need of some help.
I may not have explained clearly in title or tags. Suggestions welcome on that as well.
I have two columns of data that can have up to 50 or more entries.
The first column contains a date/time in the example format "10/1/17 11:59:52 PM CDT"
The adjacent cell contains the data for that corresponding date/time stamp.
I need to delete the date cell A and adjacent data in B for any cell in A with the same date leaving the latest timestamp and data.
This is a sample of my problem...
A B
10/1/17 11:59:43 PM CDT 1462.5
10/2/17 11:59:14 PM CDT 1498.7
10/3/17 11:58:52 PM CDT 1845.5
10/3/17 11:59:24 PM CDT 1846.8
10/3/17 11:59:14 PM CDT 1847.6
10/4/17 11:59:37 PM CDT 1502.5
I need to delete/shift lower cells up, the data in A1 and A2 of the earlier times of the same date (highlighted red)leaving only the last entry for that date.
At this stage the data in A is formatted as text because of the trailing CDT.
I'm thinking must be done in VBA but have no idea of the syntax required.
I can send my sheets to see how i have gotten all other formatting if you don't laugh.
Any help is greatly appreciated
I may not have explained clearly in title or tags. Suggestions welcome on that as well.
I have two columns of data that can have up to 50 or more entries.
The first column contains a date/time in the example format "10/1/17 11:59:52 PM CDT"
The adjacent cell contains the data for that corresponding date/time stamp.
I need to delete the date cell A and adjacent data in B for any cell in A with the same date leaving the latest timestamp and data.
This is a sample of my problem...
A B
10/1/17 11:59:43 PM CDT 1462.5
10/2/17 11:59:14 PM CDT 1498.7
10/3/17 11:58:52 PM CDT 1845.5
10/3/17 11:59:24 PM CDT 1846.8
10/3/17 11:59:14 PM CDT 1847.6
10/4/17 11:59:37 PM CDT 1502.5
I need to delete/shift lower cells up, the data in A1 and A2 of the earlier times of the same date (highlighted red)leaving only the last entry for that date.
At this stage the data in A is formatted as text because of the trailing CDT.
I'm thinking must be done in VBA but have no idea of the syntax required.
I can send my sheets to see how i have gotten all other formatting if you don't laugh.
Any help is greatly appreciated