Combining Sheet info

Blauvelt

New Member
Joined
Sep 7, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
I have 2 sheets one with Item numbers the other with Zip Codes.

I need to build zip codes for ever item number.
One Item number might have 1000 zip codes, or only 2.

Item 1 - 45801
Item 1 - 45802
Item 1 - 45803

Like so.

The finished Item and Zip needs to be on a new sheet.
This is going to be more then likely in a few cases more then 1mil lines so it will need to accommodate that also, create another sheet to continue.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I have 2 sheets one with Item numbers the other with Zip Codes.

I need to build zip codes for ever item number.
One Item number might have 1000 zip codes, or only 2.

Item 1 - 45801
Item 1 - 45802
Item 1 - 45803

Like so.

The finished Item and Zip needs to be on a new sheet.
This is going to be more then likely in a few cases more then 1mil lines so it will need to accommodate that also, create another sheet to continue.
I'm looking for some VBA to build a separate sheet from 2 existing sheets in excel.

Sheet 1 has a list of Item numbers.
```
Item 1
Item 2
Item 3
```
Sheet 2 has a list of Zip Codes.
```
45801
45802
45803
```


I need to build zip codes for ever item number.
One Item number might have 1000 zip codes, or only 2.
```
Item 1 - 45801
Item 1 - 45802
Item 1 - 45803
Item 2 - 45801
Item 2 - 45802
Item 2 - 45803
```
Like so.

The finished Item and Zip needs to be on a new sheet.

The finished list may end up being more than a million lines, in that case a new sheet needs created for the remaining Item list.
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,337
Members
451,637
Latest member
hvp2262

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