Condensing Column A to Remove Redundancies (Remove Duplicates and Consolidate doesn't do it)

Dast_Kook

New Member
Joined
Jan 3, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi! Thank you for reading this one.

For an example of what I am trying to do, lets say I have a sheet that is about 200 rows long by 15 columns wide. It is one sheet with multiple bills-of-materials stacked one on top of the other. Column A has the master/parent numbers and Column B has all of the sub-components. All the other columns can be ignored for this. Each master part number has anywhere from one to 15 sub-components (example below).

Question:
Is there a way to distill Column A down to only one iteration/entry per master part number? Is the only way to hide all columns except for Column A and use the "remove duplicates" function?


Master ASub 1
Master ASub 2
Master ASub 3
Master BSub 1
Master BSub 2
Master CSub 1
Master CSub 2
Master CSub 3
Master CSub 4
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You can do what you want with Conditional Formatting using a formula

  1. Select the whole Master Part Number Column
  2. On the Home tab, click Conditional Formatting
  3. Click New Rule
  4. Select Use a formula to determine which cells to format
  5. In the formula text box paste this -> =IF(ROW(A1)>1,IF(A1=OFFSET(A1,-1,0),TRUE,FALSE),FALSE). Note: You may need to change "A1" in the formula to whatever the first cell in your range is.
  6. Click the Format button and change the Font colour to white
  7. Click OK until you get back to the worksheet. All the duplicates should now be invisible.
 
Upvote 0
something like this?
pt.jpg

if so use Pivot Table
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
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