Combine data to give new list

Dugmac

New Member
Joined
Nov 30, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi there

I have a list of product codes for which I want to assign to each a "size" category. Can anyone think of a way to automate this process? I've included an example below showing 3 product codes and 5 sizes. I want to create a new list which gives for each item five new product codes (one for each size) so 20 items in total as shown in the Revised Data cloumn.

1669809635404.png


Thanks very much

Dugmac
 
I wasn't sure how to check this but I think I've been able to by looking at "insert function" and using the "search for a function feed". I could see SEQUENCE but not LET.
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Ok, how about
Excel Formula:
=INDEX(A3:A5,INT(SEQUENCE(ROWS(A10:A14)*ROWS(A3:A5),,0)/ROWS(A10:A14))+1)&INDEX(A10:A14,MOD(SEQUENCE(ROWS(A10:A14)*ROWS(A3:A5),,0),ROWS(A10:A14))+1)
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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