Arranging numbers in a particular order

Joined
Mar 22, 2016
Messages
14
Sir , I have a query with starting register number and ending Register number of a batch of students
how can i create a report as given below (for Eg. starting reg.Number 346 and ending Reg.Number 483)

REGISTER NUMBERS

FROM TO

346 365 (20)
366 385 (20)
386 405 (20)
406 425 (20)
426 445 (20)
446 465 (20)
466 483 (18)

It will be very helpful if a VBA code is available
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Probably more to this than you show, but this should just be "to" - "from" cells?
 
Upvote 0
Probably more to this than you show, but this should just be "to" - "from" cells?

Sir I have a table and a query in ms access with register number of students . i have to create a seating arrangement for examination (as shown in above report) each room contains 20 students and in the last room 20 or less than 20
 
Upvote 0
Actually, looks like the report is already created and here it is:

REGISTER NUMBERS FROM TO
346 365 (20)
366 385 (20)
386 405 (20)
406 425 (20)
426 445 (20)
446 465 (20)
466 483 (18)
 
Upvote 0
Hi,
You said you have the query:
Sir , I have a query with starting register number and ending Register number of a batch of students

Don't you have the query? I'm not sure what you mean. Is there something wrong with the query? Normally you just run your query to get the information you want.
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,565
Members
449,038
Latest member
Guest1337

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