I am trying to do a pivot table but I have repeated info in two columns that are related so I cannot use the remove duplicates. What can I do?

pinkybabs

New Member
Joined
Feb 6, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have the following table and I cannot remove duplicates from as I have different routes with the same number , so, numbers repeat in different columns.
I will try to explain better:
I want to remove the duplicate numbers in the column stop id but only if they are from the same route.
example on the photos attached
I only want 1 stop id for route 104 but I want to keep stop id 11 for route 114
How can I do this????
I am going insane trying to figure this out.
Thank you in advance for any help :)
 

Attachments

  • pic1.png
    pic1.png
    68.9 KB · Views: 20
  • pic2.png
    pic2.png
    58.2 KB · Views: 27

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I have the following table and I cannot remove duplicates from as I have different routes with the same number , so, numbers repeat in different columns.
I will try to explain better:
I want to remove the duplicate numbers in the column stop id but only if they are from the same route.
example on the photos attached
I only want 1 stop id for route 104 but I want to keep stop id 11 for route 114
How can I do this????
I am going insane trying to figure this out.
Thank you in advance for any help :)
I should have said this is pivot table
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top