Adding new items to dataset that a UNIQUE function pulls from breaks adjacent columns

oreo2996

New Member
Joined
Mar 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi! I'm struggling to think of a way to properly formulate a title for this, so if you have any recommendations let me know. Let me explain the issue I'm having!

I have a list including all parts for the project structured in a specific way, where parts numbers often show up multiple times, and are nested below other assemblies. There are a lot more columns and items than I've shown here, but the same solution would work for both.

On a second sheet, I need to include a list of all unique part numbers without any duplicates, which I achieve using a UNIQUE function. In an adjacent column I need to be able to input the status of each part manually.

On the first sheet, each part number needs to display the status pulled from the second sheet.

The intended workflow is for one group of people to add new parts to the first sheet without ever needing to modify the second sheet, and for a different group of people to modify the status of each part in the second sheet without ever needed to look at the first sheet.

This workbook must be able to handle the addition of new part numbers to the first sheet, inserted at any row. This is where the problem arises.

When inserting a new part number somewhere in the middle of the first sheet, the unique array on the second sheet will update to include the new part number, but the status input values do not shift to stay with their part numbers. This means that now the manually input status values are incorrect. I've taken some screenshots to hopefully show what I am referring to:

Before new part number is added to first sheet:
1709591079903.png
1709591094817.png



After new part number ("NEW PART TEST") is added to first sheet:
1709591150860.png
1709591160164.png


I realize that I could change it so that the status is input manually into the first sheet and then pulled from there into the second sheet, however that is not the desired workflow and would mean we would have to change the status on all instances of that part number instead of just one.

I've also included mini-sheets below. I couldn't find a way to include multiple sheets on one mini-sheet, so included them separately. If you need anything else from me please let me know.

Book1
BC
2PART NUMBERSTATUS
37040AAIn-progress
47041AAIn-progress
55624AAComplete
6 
77041AAIn-progress
85624AAComplete
95629In-progress
105628In-progress
115750In-progress
127405In-progress
13 
145624AAComplete
155623Complete
165622Complete
17 
185624AAComplete
195623Complete
205622Complete
Sheet1
Cell Formulas
RangeFormula
C3:C20C3=IFERROR(INDEX(Sheet3!$C$3:$C$30,MATCH(B3,Sheet3!$B$3:$B$30,0)),"")


Book1
BC
2PART NUMBERSTATUS
37040AAIn-progress
47041AAIn-progress
55624AAComplete
65629In-progress
75628In-progress
85750In-progress
97405In-progress
105623Complete
115622Complete
12
13
14
15
16
17
18
19
20
Sheet3
Cell Formulas
RangeFormula
B3:B11B3=UNIQUE(FILTER(Sheet1!$B$3:$B$30,(Sheet1!$B$3:$B$30<>"")),FALSE,FALSE)
Dynamic array formulas.



Thank you for your time and any help you can offer!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I think this doesn't make sense because if you use Formulas other than UNIQ, for example, use Filters that are connected to each other on sheets 1 & 2, this will cause circular Formulas that cause errors or maybe you can add 1 special sheet to be specialized to contain formulas from sheets 1 & 2,
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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