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
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

juddaaaa

Board Regular
Joined
Jan 4, 2020
Messages
208
Office Version
  1. 365
Platform
  1. Windows
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.
 

sandy666

Well-known Member
Joined
Oct 24, 2015
Messages
7,109
something like this?
pt.jpg

if so use Pivot Table
 

Watch MrExcel Video

Forum statistics

Threads
1,114,356
Messages
5,547,459
Members
410,793
Latest member
sauravg
Top