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: 19
  • pic2.png
    pic2.png
    58.2 KB · Views: 26

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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