Divide the existing number of rows by n

Ron_N

New Member
Joined
Aug 25, 2011
Messages
30
Hi team,
I am working on a allocation project. Suppose i have n number of rows and i need to divide them into m equal number of rows and allocate m names.

In this case n = 6 (not including header).
Suppose m = 2.

What i want is --
1. that these 6 rows be divided into m=2 equal parts.
2. Under the 'Allocated to' header, the first 3 rows has value as 'A' and the next 3 rows has value as 'B'.

ID queue Number Allocated to

123 657835
456 657835
789 657835
124 657835
356 657835
786 657835

This is just an example, the number of rows keep changing. Please advice how to proceed.

Thank you,
Ron
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,224,514
Messages
6,179,219
Members
452,895
Latest member
BILLING GUY

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