Alegzandrion
New Member
- Joined
- Feb 5, 2020
- Messages
- 2
- Office Version
- 2019
- Platform
- Windows
Hi, I am currently relatively new to excel and I have an issue. I want to extract from a sheet all the lines that contain the last distinct value of a column.
So have something like this
534 16 14
534 64 16
020 24 22
020 16 14
020 64 16
134 24 0
134 8 12
134 8 7
134 15 8
134 15 9
And I would Like to make a macro that would extract for me based on the first column only the bolded lines. After extraction the table should look like this :
534 64 16
020 64 16
134 15 9
Can anyone give me a helping hand ? I tried using lookup, but that only seems to work by entering a specific value.
So have something like this
534 16 14
534 64 16
020 24 22
020 16 14
020 64 16
134 24 0
134 8 12
134 8 7
134 15 8
134 15 9
And I would Like to make a macro that would extract for me based on the first column only the bolded lines. After extraction the table should look like this :
534 64 16
020 64 16
134 15 9
Can anyone give me a helping hand ? I tried using lookup, but that only seems to work by entering a specific value.