Creating a table with formulas...

Redrazorneck1

New Member
Joined
Aug 10, 2005
Messages
6
I need to set up a table that uses one column of data (column A). The data consists of location codes, and the table headers will be "ship-from" and "ship-to". My task is to get the one column of data into the table so that each possible scenario is captured. If I have 50 locations, I'll have 50x49 (you can't ship to yourself) possibilities, or 2,450 combinations :eek: . Here's a small example of what I'm trying to do:

Column A
1
2
3


Ship From / Ship To
1 / 2
1 / 3
2 / 1
2 / 3
3 / 1
3 / 2

Is there a quick way to get this done? Thanks!
 
Redrazorneck1 said:
It ran for about 5 minutes - and it worked beautifully. The total rows created matched up perfectly with the calculated amount (371 x 370).

CHEERS! (y)

RRN

great...i PM'd Jindon last night for a quicker solution...he said his took about 14 seconds (not bad compared to the 5 mins for mine)...he knows this stuff inside and out and i'm continually learning...that was the main reason i asked if you needed to run it just once or multiple times....glad mine worked though even if it was slow...
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,216,101
Messages
6,128,840
Members
449,471
Latest member
lachbee

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