What formula to use when mixing numbers in a column

baldi

Board Regular
Joined
Sep 15, 2009
Messages
159
I need help with mixing numbers in a column. Is there a function that I can use? I need the column on the left to be mixed between 1 and 2. Then the column on the right to be mixed


1​
1​
1​
2​
1​
3​
1​
4​
1​
5​
1​
6​
1​
7​
1​
8​
1​
9​
2​
1​
2​
2​
2​
3​
2​
4​
2​
5​
2​
6​
2​
7​
2​
8​
2​
9​
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Are you asking for repeated sorting? What version of excel are you using?
And, providing an expected result would be very beneficial to the helping the forum help you.
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I'm using excel 2019
the result that I'm looking for is. Column A to have a mixture of 1 and 2. Column B to have a mixture between 1 to 9
 
Upvote 0
I'm using excel 2019
the result that I'm looking for is. Column A to have a mixture of 1 and 2. Column B to have a mixture between 1 to 9
please describe what you mean by mixture? 1,2,2,1,1,2,2,2,1,1, and 1,4,2,5,3,9,6,7,8 are mixtures but they don't have any kind of pattern or reason.
 
Upvote 0
please describe what you mean by mixture? 1,2,2,1,1,2,2,2,1,1, and 1,4,2,5,3,9,6,7,8 are mixtures but they don't have any kind of pattern or reason.
that is exactly what I want. Once I have them mixed. I will merge them to look like this
1-9
1-2
1-3
1-5
1-6
1-8
1-1
1-7
1-4
And then the other set for 2
These are table and seat assignments for a party
 
Upvote 0
If the sequence function is in 2019, you can use what is on the left, if not use what is on the right:

Book1
ABC
11 - 11 - 1
21 - 21 - 2
31 - 31 - 3
41 - 41 - 4
51 - 51 - 5
61 - 61 - 6
71 - 71 - 7
81 - 81 - 8
91 - 91 - 9
102 - 12 - 1
112 - 22 - 2
122 - 32 - 3
132 - 42 - 4
142 - 52 - 5
152 - 62 - 6
162 - 72 - 7
172 - 82 - 8
182 - 92 - 9
Sheet10
Cell Formulas
RangeFormula
A1:A18A1=ROUNDUP(SEQUENCE(18,1,1,1)/9,0)& " - "& MOD(SEQUENCE(18,1,0,1),9)+1
C1:C18C1=ROUNDUP(ROW(C1:C18)/9,0)& " - "& MOD((ROW(C1:C18)-1),9)+1
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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