Update Item Description Based On Accessories Ordered With It

Electr0105

New Member
Joined
Mar 30, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hey everyone,

Looking for some advice on a business order hypothetical. As per the attached image, a person orders some mobile phones and some N number of accessories. I'm looking to update the phones description based on quantity and what accessories have been orders for each order ID.

Eacher Order ID and Phone S/N are unique, and only phones have a S/N. The number of accessories won't exceed the number of phones.

Currently, I have working formulas for 0 or 1 type of accessory, but no clue how to proceed if there's 2 or more. Any help is greatly appreciated.
 

Attachments

  • excel.png
    excel.png
    98.2 KB · Views: 14

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
@Electr0105 Welcome to the forum

It's always a challenge working on a hypothetical data.

But based on information that can be seen in the screenshot, Check this and revert -

Book2
ABCDEF
1Option 1Option 2
2Order IDDesdcriptionNew DescriptionOrder IDNew Description
3A 001M1M1 + Cover + PlasticA 001M1 + Cover + Plastic
4A 001Cover A 002M2 + Cover
5A 001Plastic 
6A 002M2M2 + Cover
7A 002Cover 
Sheet1
Cell Formulas
RangeFormula
E3:E4E3=UNIQUE(A3:A7)
F3:F4F3=TEXTJOIN(" + ",TRUE,FILTER(B3:B7,A3:A7=E3))
C3:C7C3=IF(A3=A2,"",TEXTJOIN(" + ",TRUE,FILTER(B3:B7,A3:A7=A3)))
Dynamic array formulas.


The only challenge is there is no parameter to correlate when to add Plastic or when to add glass. That is the challenge with hypothetical data. You need to find a way to help excel identify that...
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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